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.001323/0.001322, allocations: 106.1 kB / 16.45 MB, free: 6.438 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.001367/0.001367, allocations: 186.9 kB / 17.39 MB, free: 5.691 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.773/1.773, allocations: 205.1 MB / 223.3 MB, free: 12.22 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.1022/0.1022, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.002833/0.002834, allocations: 87 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1208, allocations: 49.4 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.003124/0.124, allocations: 1.555 MB / 445.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1251, allocations: 0.5074 MB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1253, allocations: 4 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.458e-05/0.1253, allocations: 7.875 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1255, allocations: 15.84 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1259, allocations: 43.84 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.126, allocations: 43.91 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1262, allocations: 19.92 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1263, allocations: 27.86 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.1264, allocations: 23.84 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1264, allocations: 4 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.1264, allocations: 4 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.1265, allocations: 15.92 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1266, allocations: 23.81 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1267, allocations: 51.8 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1267, allocations: 3.984 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1268, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1268, allocations: 4 kB / 445.9 MB, free: 14.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006274/0.1274, allocations: 367.2 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1275, allocations: 12.03 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.1275, allocations: 8.844 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1278, allocations: 200 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1278, allocations: 4.375 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1279, allocations: 8.375 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1282, allocations: 121.3 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1282, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1282, allocations: 3.938 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1283, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.1283, allocations: 23.92 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1288, allocations: 265.8 kB / 446.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.129, allocations: 138.2 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.1291, allocations: 29.78 kB / 447.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1292, allocations: 11.98 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1292, allocations: 30.56 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1292, allocations: 0 / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.1295, allocations: 77.52 kB / 447.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.1296, allocations: 85.11 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1297, allocations: 149.6 kB / 447.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1298, allocations: 25.7 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1298, allocations: 92.03 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1299, allocations: 0 / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1299, allocations: 17.72 kB / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.13, allocations: 322.8 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.1301, allocations: 8 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.1302, allocations: 39.36 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1303, allocations: 51.42 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.1303, allocations: 4 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/0.1305, allocations: 77.45 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1305, allocations: 4 kB / 448.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1305, allocations: 0 / 448.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1305, allocations: 4 kB / 448.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.1306, allocations: 7.984 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.1306, allocations: 4 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1307, allocations: 0 / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1307, allocations: 4 kB / 448.1 MB, free: 11.67 MB / 334.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 9.111e-05/0.1308, allocations: 121.9 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.1309, allocations: 53.53 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.131, allocations: 16.19 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.131, allocations: 3.984 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.131, allocations: 0 / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.131, allocations: 4 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1312, allocations: 173.5 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1312, allocations: 0 / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.1313, allocations: 8 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.1313, allocations: 8.312 kB / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1313, allocations: 0 / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1313, allocations: 4 kB / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1313, allocations: 0 / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1315, allocations: 184.1 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.1316, allocations: 89 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1317, allocations: 4 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1318, allocations: 8 kB / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1318, allocations: 0 / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1318, allocations: 0 / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.676e-05/0.1319, allocations: 107.2 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1319, allocations: 4 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1322, allocations: 4 kB / 448.8 MB, free: 10.79 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: 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.0001113/0.1323, allocations: 91.25 kB / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1324, allocations: 43.91 kB / 449 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1325, allocations: 0 / 449 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.1325, allocations: 4 kB / 449 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1328, allocations: 31.84 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.1333, allocations: 159.6 kB / 449.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1336, allocations: 0.6966 MB / 449.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.1337, allocations: 0 / 449.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1337, allocations: 11.44 kB / 449.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1337, allocations: 0 / 449.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Templates: time 0.003488/0.1372, allocations: 0.5396 MB / 450.4 MB, free: 9.152 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches