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.001103/0.001103, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 173.8 kB / 16.62 MB, free: 6.613 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.736/1.736, allocations: 205.4 MB / 222.8 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09068/0.09068, allocations: 12.6 MB / 283.7 MB, free: 8.676 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.0007359/0.000736, allocations: 20 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1298, allocations: 50.38 MB / 394.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002047/0.1319, allocations: 1.192 MB / 396.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.1323, allocations: 135.7 kB / 396.2 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.1324, allocations: 4 kB / 396.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.1324, allocations: 3.938 kB / 396.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1325, allocations: 0 / 396.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1328, allocations: 31.91 kB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.1329, allocations: 27.92 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.133, allocations: 7.984 kB / 396.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.1331, allocations: 11.92 kB / 396.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.1331, allocations: 11.94 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1331, allocations: 7.938 kB / 396.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1332, allocations: 0 / 396.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1332, allocations: 11.92 kB / 396.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.1332, allocations: 29.7 kB / 396.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.1333, allocations: 23.91 kB / 396.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1333, allocations: 4 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1333, allocations: 0 / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.1334, allocations: 0 / 396.4 MB, free: 1.266 MB / 286.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.000517/0.1339, allocations: 351.4 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1339, allocations: 8.031 kB / 396.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.134, allocations: 7.906 kB / 396.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1343, allocations: 194.8 kB / 397 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1343, allocations: 0 / 397 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1343, allocations: 11.94 kB / 397 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1346, allocations: 93.05 kB / 397.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1346, allocations: 0 / 397.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1346, allocations: 0 / 397.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1347, allocations: 0 / 397.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.1347, allocations: 15.98 kB / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1351, allocations: 257.8 kB / 397.3 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.1352, allocations: 53.14 kB / 397.4 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.1352, allocations: 13.78 kB / 397.4 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1352, allocations: 4 kB / 397.4 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1353, allocations: 38.5 kB / 397.4 MB, free: 48 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1353, allocations: 0 / 397.4 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002268/0.1355, allocations: 57.59 kB / 397.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1356, allocations: 89.3 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1357, allocations: 129.8 kB / 397.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1357, allocations: 25.7 kB / 397.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1358, allocations: 88.08 kB / 397.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.1358, allocations: 0 / 397.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.1358, allocations: 0 / 397.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.136, allocations: 318.8 kB / 398.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.136, allocations: 4 kB / 398.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.136, allocations: 21.7 kB / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.1361, allocations: 11.95 kB / 398.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1361, allocations: 0 / 398.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.398e-05/0.1362, allocations: 53.53 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1362, allocations: 4 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1362, allocations: 4.125 kB / 398.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1362, allocations: 8 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.899e-05/0.1363, allocations: 0 / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1363, allocations: 3.938 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.1363, allocations: 4 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1363, allocations: 0 / 398.2 MB, free: 15.18 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1364, allocations: 129.5 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.1365, allocations: 45.55 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1366, allocations: 7.516 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1366, allocations: 4.031 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1366, allocations: 4 kB / 398.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1366, allocations: 0 / 398.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1368, allocations: 161.7 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1368, allocations: 3.953 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.1368, allocations: 0 / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1368, allocations: 0 / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1368, allocations: 7.984 kB / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1368, allocations: 0 / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1368, allocations: 0 / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.137, allocations: 156.3 kB / 398.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.137, allocations: 96.95 kB / 398.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1371, allocations: 0 / 398.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.1371, allocations: 4 kB / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1372, allocations: 0 / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1372, allocations: 0 / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.1373, allocations: 107.3 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 3.938 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1375, allocations: 4 kB / 399 MB, free: 14.35 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.883e-05/0.1376, allocations: 99.22 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1377, allocations: 16 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1377, allocations: 0 / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.1378, allocations: 16.05 kB / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1382, allocations: 19.98 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1386, allocations: 141.5 kB / 399.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1389, allocations: 0.6889 MB / 399.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.133e-05/0.1389, allocations: 4 kB / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.139, allocations: 7.438 kB / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.139, allocations: 4 kB / 399.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002657/0.1416, allocations: 387.4 kB / 400.3 MB, free: 12.92 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches