Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 97.53 kB / 15.73 MB, free: 440 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.00117/0.00117, allocations: 177.9 kB / 16.61 MB, free: 6.891 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.504/1.504, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.07322/0.07322, allocations: 12.6 MB / 283.6 MB, free: 8.703 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.0007624/0.0007625, allocations: 24 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1254, allocations: 50.38 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.002648/0.1281, allocations: 1.375 MB / 396.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.1286, allocations: 163.5 kB / 396.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1289, allocations: 0 / 396.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.1289, allocations: 3.938 kB / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1291, allocations: 11.98 kB / 396.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1294, allocations: 43.84 kB / 396.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1295, allocations: 27.97 kB / 396.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1296, allocations: 27.97 kB / 396.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.1297, allocations: 19.86 kB / 396.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.1298, allocations: 19.92 kB / 396.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1298, allocations: 0 / 396.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.1298, allocations: 0 / 396.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1298, allocations: 11.94 kB / 396.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1299, allocations: 37.64 kB / 396.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.858e-05/0.13, allocations: 39.91 kB / 396.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.13, allocations: 4 kB / 396.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.13, allocations: 4 kB / 396.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.13, allocations: 0 / 396.7 MB, free: 1.004 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005898/0.1306, allocations: 383.3 kB / 397 MB, free: 0.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1307, allocations: 8.031 kB / 397.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.1307, allocations: 7.906 kB / 397.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.131, allocations: 194.8 kB / 397.3 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.131, allocations: 3.953 kB / 397.3 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1311, allocations: 19.97 kB / 397.3 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.1315, allocations: 169.6 kB / 397.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1315, allocations: 0 / 397.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1316, allocations: 4 kB / 397.4 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1316, allocations: 4 kB / 397.5 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1317, allocations: 39.97 kB / 397.5 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.1323, allocations: 373.8 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1326, allocations: 111.9 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1326, allocations: 0 / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1327, allocations: 46.55 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.1327, allocations: 0 / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003911/0.1331, allocations: 121.7 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1331, allocations: 115 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1333, allocations: 145 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1333, allocations: 29.7 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.1334, allocations: 88.14 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1334, allocations: 11.89 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.1334, allocations: 7.938 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1335, allocations: 314.8 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.1336, allocations: 23.92 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.1337, allocations: 75.72 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.696e-05/0.1337, allocations: 27.98 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1338, allocations: 7.938 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1339, allocations: 105.6 kB / 399.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.134, allocations: 7.938 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.134, allocations: 4 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.134, allocations: 4 kB / 399.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.1341, allocations: 19.98 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1341, allocations: 4 kB / 399.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1342, allocations: 19.83 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1342, allocations: 4 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000115/0.1343, allocations: 137.6 kB / 399.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1344, allocations: 69.59 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1345, allocations: 16.72 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1345, allocations: 4 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1345, allocations: 0 / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1345, allocations: 3.984 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1348, allocations: 177.6 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1348, allocations: 4 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.1349, allocations: 27.92 kB / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1349, allocations: 4 kB / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1349, allocations: 0 / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1349, allocations: 4 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1349, allocations: 0 / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1353, allocations: 343.5 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.1354, allocations: 100.9 kB / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1355, allocations: 4.266 kB / 400 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.1356, allocations: 8 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1356, allocations: 4 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1356, allocations: 3.938 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.1357, allocations: 111.2 kB / 400.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1357, allocations: 0 / 400.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.136, allocations: 8 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 0.0001325/0.1362, allocations: 103.2 kB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1364, allocations: 64.34 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1364, allocations: 0 / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.1364, allocations: 16 kB / 400.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1368, allocations: 39.91 kB / 400.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.1373, allocations: 237 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1377, allocations: 0.7004 MB / 401.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.1377, allocations: 4.672 kB / 401.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1377, allocations: 11.44 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1377, allocations: 4 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.003154/0.1409, allocations: 0.5991 MB / 401.9 MB, free: 11.29 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches