Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 105 kB / 16.45 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 189 kB / 17.39 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 223.3 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0858/0.0858, allocations: 12.58 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 85.8 kB / 394.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 49.41 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002927/0.1179, allocations: 1.479 MB / 445 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004489/0.1184, allocations: 137.2 kB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.1185, allocations: 8 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.1185, allocations: 3.938 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1187, allocations: 7.938 kB / 445.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.119, allocations: 39.89 kB / 445.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.1191, allocations: 27.86 kB / 445.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1192, allocations: 8 kB / 445.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.1192, allocations: 11.98 kB / 445.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.1193, allocations: 15.86 kB / 445.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1193, allocations: 4 kB / 445.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.1193, allocations: 4 kB / 445.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1194, allocations: 7.984 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1194, allocations: 23.81 kB / 445.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1195, allocations: 39.77 kB / 445.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1196, allocations: 0 / 445.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1196, allocations: 0 / 445.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1196, allocations: 0 / 445.4 MB, free: 14.65 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006056/0.1202, allocations: 359.2 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1202, allocations: 8.031 kB / 445.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1203, allocations: 8.938 kB / 445.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1206, allocations: 192.2 kB / 445.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1206, allocations: 4.375 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1206, allocations: 384 / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1209, allocations: 85.62 kB / 446 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1209, allocations: 4.188 kB / 446 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1209, allocations: 3.938 kB / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1209, allocations: 0 / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.121, allocations: 15.92 kB / 446 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1213, allocations: 257.8 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.1214, allocations: 49.02 kB / 446.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.1215, allocations: 21.78 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1215, allocations: 4 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1215, allocations: 30.56 kB / 446.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1215, allocations: 0 / 446.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.1218, allocations: 57.75 kB / 446.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1219, allocations: 89.06 kB / 446.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.122, allocations: 133.8 kB / 446.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.122, allocations: 29.7 kB / 446.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.1221, allocations: 84.14 kB / 446.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-06/0.1221, allocations: 0 / 446.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1221, allocations: 21.62 kB / 446.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1223, allocations: 318.8 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/0.1224, allocations: 8 kB / 447.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.1224, allocations: 13.72 kB / 447.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.382e-05/0.1225, allocations: 29.64 kB / 447.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1225, allocations: 0 / 447.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.08e-05/0.1226, allocations: 57.66 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1226, allocations: 8 kB / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1226, allocations: 0 / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1226, allocations: 0 / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.1226, allocations: 0 / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1226, allocations: 0 / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.1227, allocations: 4 kB / 447.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1227, allocations: 0 / 447.2 MB, free: 12.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.1228, allocations: 121.8 kB / 447.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.1229, allocations: 41.64 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1229, allocations: 15.48 kB / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1229, allocations: 0 / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1229, allocations: 0 / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1229, allocations: 7.922 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1231, allocations: 165.6 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1231, allocations: 0 / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.1232, allocations: 4 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1232, allocations: 0 / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1232, allocations: 0 / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.1232, allocations: 4 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1232, allocations: 4.031 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1234, allocations: 152.3 kB / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1234, allocations: 89 kB / 447.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1235, allocations: 0 / 447.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.1235, allocations: 8 kB / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1236, allocations: 7.922 kB / 447.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1236, allocations: 11.91 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.181e-05/0.1237, allocations: 99.27 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1237, allocations: 0 / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1239, allocations: 4 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.894e-05/0.124, allocations: 95.25 kB / 448 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1241, allocations: 15.98 kB / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1241, allocations: 0 / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.1242, allocations: 16.06 kB / 448.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1246, allocations: 15.95 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1249, allocations: 134.4 kB / 448.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1253, allocations: 0.6846 MB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.1254, allocations: 4 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.1254, allocations: 7.438 kB / 448.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1254, allocations: 4.156 kB / 448.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.003145/0.1285, allocations: 436.4 kB / 449.4 MB, free: 10.24 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches