Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009796/0.009796, allocations: 93.11 kB / 15.91 MB, free: 6.281 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.002057/0.002057, allocations: 200.2 kB / 16.84 MB, free: 6.195 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.63/1.63, allocations: 205.1 MB / 222.7 MB, free: 5 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.07785/0.07785, allocations: 12.59 MB / 282.6 MB, free: 9.121 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.001725/0.001725, allocations: 79.89 kB / 342.8 MB, free: 21.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1107, allocations: 49.41 MB / 392.2 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.003891/0.1147, allocations: 1.593 MB / 393.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1158, allocations: 0.5269 MB / 394.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.116, allocations: 4 kB / 394.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.116, allocations: 7.922 kB / 394.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1162, allocations: 7.875 kB / 394.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1164, allocations: 47.89 kB / 394.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.1165, allocations: 43.84 kB / 394.4 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1167, allocations: 19.98 kB / 394.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.1167, allocations: 23.91 kB / 394.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1168, allocations: 19.86 kB / 394.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1168, allocations: 4 kB / 394.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.1168, allocations: 0 / 394.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1169, allocations: 15.94 kB / 394.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.1169, allocations: 23.8 kB / 394.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.117, allocations: 47.81 kB / 394.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.117, allocations: 0 / 394.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.117, allocations: 0 / 394.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.117, allocations: 4 kB / 394.6 MB, free: 1.332 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004673/0.1175, allocations: 379.3 kB / 394.9 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1176, allocations: 8.031 kB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1176, allocations: 8.844 kB / 395 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1178, allocations: 196.1 kB / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1178, allocations: 4.375 kB / 395.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1178, allocations: 8.312 kB / 395.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1181, allocations: 121.2 kB / 395.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1182, allocations: 0 / 395.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1182, allocations: 0 / 395.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1182, allocations: 0 / 395.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1183, allocations: 19.98 kB / 395.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1186, allocations: 265.7 kB / 395.6 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.1188, allocations: 37.22 kB / 395.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.1188, allocations: 29.7 kB / 395.6 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1188, allocations: 0 / 395.6 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1189, allocations: 34.56 kB / 395.7 MB, free: 56 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1189, allocations: 0 / 395.7 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002792/0.1192, allocations: 69.52 kB / 395.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1193, allocations: 81.11 kB / 395.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1194, allocations: 138.1 kB / 395.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1194, allocations: 25.95 kB / 396 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1195, allocations: 92.14 kB / 396.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1196, allocations: 0 / 396.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1196, allocations: 17.72 kB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1198, allocations: 314.8 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.1198, allocations: 12 kB / 396.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.1199, allocations: 17.7 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.12, allocations: 45.58 kB / 396.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.12, allocations: 0 / 396.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.1201, allocations: 57.53 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1201, allocations: 5.25 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1201, allocations: 0 / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1201, allocations: 4 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.1202, allocations: 12.05 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1202, allocations: 0 / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.1203, allocations: 0 / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1203, allocations: 4 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.465e-05/0.1204, allocations: 121.8 kB / 396.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.1205, allocations: 37.61 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.1205, allocations: 7.875 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1205, allocations: 4 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1205, allocations: 4.031 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1205, allocations: 4 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1207, allocations: 169.6 kB / 396.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1207, allocations: 4 kB / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.1208, allocations: 11.92 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1208, allocations: 0 / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1208, allocations: 3.938 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1208, allocations: 0 / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1208, allocations: 0 / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.121, allocations: 164.2 kB / 397.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1211, allocations: 93 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1211, allocations: 0 / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1212, allocations: 4 kB / 397.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.1212, allocations: 0 / 397.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1212, allocations: 4 kB / 397.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.1213, allocations: 107.2 kB / 397.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1213, allocations: 7.969 kB / 397.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1216, allocations: 4 kB / 397.3 MB, free: 14.26 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 (2): * Single equations (assignments): 2 * 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 8.953e-05/0.1217, allocations: 95.25 kB / 397.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1218, allocations: 15.98 kB / 397.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1218, allocations: 0 / 397.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1218, allocations: 15.98 kB / 397.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1223, allocations: 40.09 kB / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1226, allocations: 165.2 kB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1229, allocations: 0.6926 MB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.086e-05/0.1229, allocations: 7.984 kB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.123, allocations: 11.44 kB / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.123, allocations: 0 / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002523/0.1255, allocations: 477.2 kB / 398.8 MB, free: 12.7 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches