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.0007417/0.0007417, allocations: 97.33 kB / 16.06 MB, free: 40 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.0007996/0.0007997, allocations: 184.3 kB / 16.96 MB, free: 6.895 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.206/1.206, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.06392/0.06392, allocations: 12.61 MB / 284 MB, free: 8.578 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.0006414/0.0006414, allocations: 16 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07068/0.07133, allocations: 50.39 MB / 395.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001473/0.07284, allocations: 1.255 MB / 396.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.07352, allocations: 0.5231 MB / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.0736, allocations: 0 / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.07363, allocations: 11.92 kB / 397.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.07374, allocations: 11.92 kB / 397.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.07395, allocations: 39.91 kB / 397.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.07403, allocations: 47.72 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.07413, allocations: 15.98 kB / 397.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.07419, allocations: 23.91 kB / 397.5 MB, free: 488 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.07424, allocations: 15.86 kB / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.07426, allocations: 8 kB / 397.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.07428, allocations: 0 / 397.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.07432, allocations: 11.94 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.07436, allocations: 53.5 kB / 397.6 MB, free: 392 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.021e-05/0.07444, allocations: 43.81 kB / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.07445, allocations: 0 / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.07445, allocations: 0 / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.07446, allocations: 0 / 397.6 MB, free: 348 kB / 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.0003586/0.07482, allocations: 363.5 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.07486, allocations: 16.03 kB / 398 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.07489, allocations: 8.844 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.07505, allocations: 199.9 kB / 398.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.07507, allocations: 8.375 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.07508, allocations: 384 / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.07531, allocations: 117.3 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.07532, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.07534, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.07534, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.07542, allocations: 23.98 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.07571, allocations: 269.7 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.07579, allocations: 41.22 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.07585, allocations: 25.7 kB / 398.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.07587, allocations: 0 / 398.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.0759, allocations: 34.56 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.07591, allocations: 0 / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.07613, allocations: 77.52 kB / 398.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.07618, allocations: 81.11 kB / 398.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.07628, allocations: 142.4 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.0763, allocations: 25.7 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.07635, allocations: 88.14 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.07636, allocations: 4 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.07639, allocations: 9.719 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.07648, allocations: 314.8 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.07652, allocations: 12 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.07657, allocations: 25.7 kB / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.07665, allocations: 41.58 kB / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.07666, allocations: 0 / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.07678, allocations: 65.59 kB / 399.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.0768, allocations: 9.188 kB / 399.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.07681, allocations: 0 / 399.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.07682, allocations: 0 / 399.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.07688, allocations: 11.98 kB / 399.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.07689, allocations: 0 / 399.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.07694, allocations: 4 kB / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.07695, allocations: 3.938 kB / 399.6 MB, free: 14.09 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 6.235e-05/0.07702, allocations: 121.8 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.07708, allocations: 41.59 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.0771, allocations: 11.88 kB / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.07711, allocations: 0 / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.07712, allocations: 0 / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.07713, allocations: 4 kB / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.07727, allocations: 173.6 kB / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.07728, allocations: 0 / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.07733, allocations: 11.92 kB / 399.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.07734, allocations: 4.031 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.07735, allocations: 4 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.07736, allocations: 0 / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.07736, allocations: 0 / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.0775, allocations: 168.2 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.07756, allocations: 93 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.07758, allocations: 0 / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.07765, allocations: 4 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.07768, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.07769, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.07775, allocations: 107.2 kB / 400.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.173e-06/0.07776, allocations: 4 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.07796, allocations: 7.938 kB / 400.3 MB, free: 13.25 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.404e-05/0.07805, allocations: 99.28 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.07816, allocations: 19.98 kB / 400.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.07817, allocations: 0 / 400.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.07822, allocations: 15.98 kB / 400.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.07853, allocations: 24.19 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.07879, allocations: 181.4 kB / 400.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.079, allocations: 0.6965 MB / 401.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.07903, allocations: 4 kB / 401.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.07906, allocations: 15.42 kB / 401.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.07906, allocations: 3.938 kB / 401.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Templates: time 0.001893/0.08096, allocations: 477.2 kB / 401.8 MB, free: 11.67 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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