Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 95.69 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.001622/0.001623, allocations: 177.1 kB / 16.63 MB, free: 6.43 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.771/1.771, allocations: 205.4 MB / 222.8 MB, free: 5.863 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.09523/0.09523, allocations: 12.6 MB / 283.7 MB, free: 8.926 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.0007361/0.0007363, allocations: 16 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1209, allocations: 50.39 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.002271/0.1232, allocations: 1.267 MB / 396.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.1241, allocations: 492 kB / 396.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1243, allocations: 4 kB / 396.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1243, allocations: 3.938 kB / 396.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1244, allocations: 11.92 kB / 396.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1247, allocations: 43.89 kB / 396.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.1248, allocations: 35.86 kB / 396.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.125, allocations: 15.97 kB / 396.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.125, allocations: 11.94 kB / 396.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.1251, allocations: 23.86 kB / 396.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1251, allocations: 0 / 396.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.1252, allocations: 0 / 396.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.1252, allocations: 11.97 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1253, allocations: 37.64 kB / 396.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.1253, allocations: 35.95 kB / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1254, allocations: 0 / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1254, allocations: 0 / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1254, allocations: 0 / 396.9 MB, free: 0.8086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005154/0.1259, allocations: 363.3 kB / 397.3 MB, free: 416 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1259, allocations: 8.031 kB / 397.3 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.126, allocations: 7.906 kB / 397.3 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1262, allocations: 200 kB / 397.5 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1262, allocations: 8 kB / 397.5 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1262, allocations: 4 kB / 397.5 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1266, allocations: 113 kB / 397.6 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1266, allocations: 3.938 kB / 397.6 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1266, allocations: 0 / 397.6 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1266, allocations: 8 kB / 397.6 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1267, allocations: 23.97 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1271, allocations: 265.7 kB / 397.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1273, allocations: 146.2 kB / 398 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.18e-05/0.1274, allocations: 29.77 kB / 398.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1274, allocations: 4 kB / 398.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1274, allocations: 34.5 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1275, allocations: 4 kB / 398.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002692/0.1277, allocations: 81.52 kB / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.1278, allocations: 85.11 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1279, allocations: 141.1 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.128, allocations: 25.7 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.128, allocations: 92.17 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1281, allocations: 4 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1281, allocations: 0 / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1282, allocations: 322.8 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.1283, allocations: 8 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1283, allocations: 43.36 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.1284, allocations: 15.98 kB / 398.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1284, allocations: 0 / 398.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.1286, allocations: 73.62 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1286, allocations: 8 kB / 399 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1286, allocations: 0 / 399 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1286, allocations: 0 / 399 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.1287, allocations: 19.98 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1287, allocations: 3.938 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1288, allocations: 4 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1288, allocations: 0 / 399 MB, free: 14.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001755/0.129, allocations: 129.6 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.129, allocations: 45.92 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.1291, allocations: 16.28 kB / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1291, allocations: 3.984 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1291, allocations: 4 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1291, allocations: 0 / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1293, allocations: 173.5 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1293, allocations: 0 / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.1294, allocations: 15.98 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1294, allocations: 0 / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1294, allocations: 3.938 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1294, allocations: 4 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1294, allocations: 0 / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.1296, allocations: 176.2 kB / 399.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1297, allocations: 85.09 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1297, allocations: 4 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1298, allocations: 8 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1298, allocations: 7.984 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1298, allocations: 0 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1299, allocations: 107.2 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 3.938 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1302, allocations: 4 kB / 399.8 MB, free: 13.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001268/0.1303, allocations: 111 kB / 399.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1305, allocations: 31.98 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1305, allocations: 0 / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.1305, allocations: 19.92 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1309, allocations: 23.98 kB / 400 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.1314, allocations: 193.7 kB / 400.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.132, allocations: 0.6887 MB / 400.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.132, allocations: 0 / 400.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1321, allocations: 11.44 kB / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1321, allocations: 7.938 kB / 400.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Templates: time 0.003066/0.1351, allocations: 477.2 kB / 401.3 MB, free: 11.93 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches