Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 112.4 kB / 16.46 MB, free: 6.457 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.001304/0.001304, allocations: 186.4 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.663/1.663, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.08312/0.08312, allocations: 12.58 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.003591/0.003591, allocations: 90.28 kB / 394.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1406, allocations: 49.4 MB / 443.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.004914/0.1456, allocations: 1.567 MB / 445.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1472, allocations: 0.5346 MB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1473, allocations: 4 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.1474, allocations: 7.875 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1476, allocations: 11.86 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1481, allocations: 63.81 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1484, allocations: 47.84 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1486, allocations: 20.11 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1487, allocations: 27.84 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1488, allocations: 19.86 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1488, allocations: 4 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1489, allocations: 4 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.149, allocations: 15.92 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.149, allocations: 27.81 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1493, allocations: 55.75 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1493, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1493, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1493, allocations: 0 / 446 MB, free: 14.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008204/0.1501, allocations: 383.1 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.1502, allocations: 12.03 kB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1503, allocations: 8.844 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1507, allocations: 196.2 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1508, allocations: 8.312 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1508, allocations: 8.312 kB / 446.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1512, allocations: 121.9 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1512, allocations: 4 kB / 446.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1512, allocations: 4 kB / 446.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1512, allocations: 0 / 446.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.1513, allocations: 19.98 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.1521, allocations: 278.5 kB / 447 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1523, allocations: 75.73 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1524, allocations: 30.62 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1525, allocations: 0 / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.1525, allocations: 42.56 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.1525, allocations: 0 / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004076/0.153, allocations: 89.44 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1531, allocations: 102.8 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1533, allocations: 142.2 kB / 447.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1533, allocations: 29.7 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.1534, allocations: 92.12 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1535, allocations: 4 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1535, allocations: 21.62 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1537, allocations: 322.8 kB / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.1538, allocations: 8 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.1539, allocations: 35.42 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.154, allocations: 47.36 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.154, allocations: 0 / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001886/0.1542, allocations: 77.55 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1542, allocations: 4 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1543, allocations: 4 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1543, allocations: 0 / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1544, allocations: 8 kB / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1544, allocations: 0 / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.1545, allocations: 7.984 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1545, allocations: 0 / 448.1 MB, free: 11.59 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 0.0001365/0.1547, allocations: 125.9 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1548, allocations: 53.53 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.1549, allocations: 15.83 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1549, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1549, allocations: 3.938 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1549, allocations: 4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.1552, allocations: 181.4 kB / 448.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1552, allocations: 4 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.1553, allocations: 8 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1553, allocations: 8.062 kB / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1553, allocations: 3.984 kB / 448.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1553, allocations: 3.938 kB / 448.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.1553, allocations: 4 kB / 448.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1556, allocations: 177.1 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.1557, allocations: 93 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1558, allocations: 0 / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1559, allocations: 8 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1559, allocations: 3.938 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.156, allocations: 4 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1561, allocations: 111.9 kB / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1561, allocations: 0 / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.1565, allocations: 8 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001278/0.1566, allocations: 99.19 kB / 449 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1569, allocations: 39.91 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1569, allocations: 0 / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.1569, allocations: 4 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.1575, allocations: 24.09 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.158, allocations: 177.2 kB / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1585, allocations: 0.6963 MB / 450 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1586, allocations: 7.734 kB / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1586, allocations: 11.44 kB / 450 MB, free: 9.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1586, allocations: 0 / 450 MB, free: 9.559 MB / 334.1 MB Notification: Performance of Templates: time 0.004294/0.1629, allocations: 0.5902 MB / 450.6 MB, free: 8.969 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches