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.001374/0.001375, allocations: 104.4 kB / 16.03 MB, free: 6.324 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.001387/0.001388, allocations: 191.8 kB / 16.95 MB, free: 6.145 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.79/1.79, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.09056/0.09056, allocations: 12.59 MB / 282.7 MB, free: 8.785 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.0018/0.0018, allocations: 79.89 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1279, allocations: 49.41 MB / 392.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.004056/0.132, allocations: 1.617 MB / 394 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.133, allocations: 0.4996 MB / 394.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1331, allocations: 0 / 394.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.1332, allocations: 3.938 kB / 394.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1333, allocations: 11.98 kB / 394.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1336, allocations: 39.89 kB / 394.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1337, allocations: 43.8 kB / 394.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1339, allocations: 16 kB / 394.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.134, allocations: 19.92 kB / 394.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.1341, allocations: 27.84 kB / 394.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1341, allocations: 0 / 394.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.1341, allocations: 4 kB / 394.7 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.1342, allocations: 15.92 kB / 394.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1343, allocations: 23.88 kB / 394.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1344, allocations: 51.75 kB / 394.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.1344, allocations: 0 / 394.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1345, allocations: 3.938 kB / 394.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1345, allocations: 4 kB / 394.8 MB, free: 1.184 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.0006591/0.1351, allocations: 379.3 kB / 395.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1352, allocations: 12.03 kB / 395.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.1352, allocations: 12.84 kB / 395.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1355, allocations: 185.1 kB / 395.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1355, allocations: 4.375 kB / 395.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1355, allocations: 4.375 kB / 395.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1359, allocations: 133.1 kB / 395.5 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1359, allocations: 0 / 395.5 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1359, allocations: 4 kB / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1359, allocations: 0 / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.136, allocations: 19.98 kB / 395.5 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1365, allocations: 265.8 kB / 395.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1367, allocations: 138.2 kB / 395.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.1368, allocations: 29.77 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1368, allocations: 7.938 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1368, allocations: 38.5 kB / 396 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1368, allocations: 0 / 396 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002779/0.1371, allocations: 85.56 kB / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.1372, allocations: 81.05 kB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1374, allocations: 141.2 kB / 396.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1374, allocations: 25.7 kB / 396.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.1375, allocations: 92.12 kB / 396.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1375, allocations: 0 / 396.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1375, allocations: 21.62 kB / 396.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1377, allocations: 314.8 kB / 396.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.1377, allocations: 15.98 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.1378, allocations: 39.42 kB / 396.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.1379, allocations: 43.36 kB / 396.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1379, allocations: 0 / 396.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.138, allocations: 69.61 kB / 396.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1381, allocations: 8 kB / 396.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1381, allocations: 0 / 396.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1381, allocations: 0 / 396.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.1382, allocations: 11.94 kB / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1382, allocations: 0 / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1382, allocations: 11.98 kB / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1382, allocations: 0 / 396.9 MB, free: 14.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1384, allocations: 125.9 kB / 397 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.1385, allocations: 49.59 kB / 397.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.1385, allocations: 4.25 kB / 397.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1385, allocations: 4.328 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1385, allocations: 0 / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1385, allocations: 0 / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1387, allocations: 181.5 kB / 397.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1387, allocations: 7.969 kB / 397.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.1388, allocations: 8 kB / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1388, allocations: 0 / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1388, allocations: 8 kB / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1388, allocations: 3.938 kB / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1388, allocations: 0 / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.139, allocations: 172.2 kB / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1391, allocations: 93 kB / 397.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1391, allocations: 4 kB / 397.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.1392, allocations: 7.984 kB / 397.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1392, allocations: 7.938 kB / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1392, allocations: 0 / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.016e-05/0.1393, allocations: 107.2 kB / 397.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 397.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1396, allocations: 7.938 kB / 397.7 MB, free: 13.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.1397, allocations: 99.25 kB / 397.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1399, allocations: 31.92 kB / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1399, allocations: 0 / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.1399, allocations: 11.98 kB / 397.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1404, allocations: 35.89 kB / 397.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.1408, allocations: 195.5 kB / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1411, allocations: 0.6922 MB / 398.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.144e-05/0.1412, allocations: 0 / 398.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1412, allocations: 11.44 kB / 398.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1412, allocations: 0 / 398.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002796/0.144, allocations: 0.502 MB / 399.3 MB, free: 12.23 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (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) 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