Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 107.4 kB / 16.45 MB, free: 6.426 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.001416/0.001416, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.603/1.603, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.07421/0.07421, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001846/0.001846, allocations: 89.56 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1251, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.003076/0.1283, allocations: 1.591 MB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1293, allocations: 0.5462 MB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1295, allocations: 4 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.1295, allocations: 3.938 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1297, allocations: 11.86 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.13, allocations: 55.81 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1302, allocations: 51.84 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1303, allocations: 31.84 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.1304, allocations: 27.88 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.1305, allocations: 23.84 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1305, allocations: 4 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.1306, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1306, allocations: 15.92 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.1307, allocations: 31.8 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1308, allocations: 63.69 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1308, allocations: 0 / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1308, allocations: 4 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1309, allocations: 0 / 446 MB, free: 14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005881/0.1315, allocations: 387 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1315, allocations: 8.031 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1316, allocations: 12.84 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1319, allocations: 204.6 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1319, allocations: 8.375 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.132, allocations: 12.11 kB / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.1323, allocations: 126.7 kB / 446.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1324, allocations: 3.938 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1324, allocations: 4 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1324, allocations: 0 / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1325, allocations: 27.98 kB / 446.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1329, allocations: 287.4 kB / 447.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1331, allocations: 102.4 kB / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.1332, allocations: 43.48 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1332, allocations: 4 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1332, allocations: 38.5 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.1333, allocations: 0 / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003226/0.1336, allocations: 109.4 kB / 447.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.1337, allocations: 137 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1338, allocations: 145.8 kB / 447.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1338, allocations: 29.7 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1339, allocations: 91.98 kB / 447.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1339, allocations: 15.92 kB / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.134, allocations: 21.62 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1341, allocations: 314.8 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.1342, allocations: 11.98 kB / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.1342, allocations: 56.22 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1343, allocations: 60.22 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1343, allocations: 0 / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001503/0.1345, allocations: 77.61 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1345, allocations: 4 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1345, allocations: 4 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1346, allocations: 3.938 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.1346, allocations: 20.08 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1347, allocations: 4 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1347, allocations: 11.84 kB / 448.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1347, allocations: 8 kB / 448.4 MB, free: 11.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 7.849e-05/0.1348, allocations: 117.8 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.1349, allocations: 53.55 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.135, allocations: 15.86 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.135, allocations: 4 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.135, allocations: 64 / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.135, allocations: 7.938 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1352, allocations: 177.6 kB / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1352, allocations: 4 kB / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.1353, allocations: 11.98 kB / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1353, allocations: 4 kB / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1353, allocations: 0 / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1353, allocations: 0 / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1353, allocations: 7.938 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.1355, allocations: 198 kB / 449 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1356, allocations: 93 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1356, allocations: 0 / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1357, allocations: 7.938 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1357, allocations: 11.92 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.1357, allocations: 4.188 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.1358, allocations: 115.9 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1358, allocations: 0 / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.136, allocations: 15.94 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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 9.805e-05/0.1361, allocations: 95.19 kB / 449.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1363, allocations: 43.92 kB / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1363, allocations: 320 / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1364, allocations: 19.98 kB / 449.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1367, allocations: 27.95 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.1371, allocations: 201.9 kB / 449.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1374, allocations: 0.6966 MB / 450.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.59e-05/0.1375, allocations: 7.984 kB / 450.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1375, allocations: 15.38 kB / 450.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1375, allocations: 0 / 450.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Templates: time 0.003327/0.1408, allocations: 0.7418 MB / 451 MB, free: 8.465 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches