Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 84.19 kB / 15.75 MB, free: 416 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.001444/0.001444, allocations: 172.2 kB / 16.63 MB, free: 6.887 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.9/1.9, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.1055/0.1055, allocations: 12.6 MB / 283.7 MB, free: 8.676 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.0007905/0.000791, allocations: 24 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1278, allocations: 50.38 MB / 394.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.002791/0.1307, allocations: 1.545 MB / 396.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1325, allocations: 1.003 MB / 397.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1327, allocations: 7.938 kB / 397.5 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1331, allocations: 59.8 kB / 397.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1333, allocations: 67.72 kB / 397.6 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.134, allocations: 207.6 kB / 397.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1343, allocations: 147.5 kB / 397.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1344, allocations: 25.53 kB / 398 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1345, allocations: 59.7 kB / 398 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1346, allocations: 67.69 kB / 398.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1347, allocations: 7.938 kB / 398.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1348, allocations: 47.97 kB / 398.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.1349, allocations: 43.83 kB / 398.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.135, allocations: 61.56 kB / 398.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1352, allocations: 164 kB / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1353, allocations: 0 / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1353, allocations: 0 / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1353, allocations: 0 / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008295/0.1361, allocations: 0.5077 MB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.1362, allocations: 8.031 kB / 398.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.1363, allocations: 31.66 kB / 399 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1366, allocations: 274.5 kB / 399.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1367, allocations: 8 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1367, allocations: 4 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1371, allocations: 151.6 kB / 399.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1371, allocations: 7.938 kB / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1371, allocations: 0 / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1371, allocations: 0 / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1372, allocations: 35.98 kB / 399.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1378, allocations: 378.3 kB / 399.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1381, allocations: 119.9 kB / 399.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.1382, allocations: 46.56 kB / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.1382, allocations: 8 kB / 400 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1384, allocations: 83.38 kB / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1384, allocations: 0 / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003873/0.1388, allocations: 149.5 kB / 400.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.139, allocations: 170.4 kB / 400.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.1393, allocations: 322.7 kB / 400.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1394, allocations: 29.7 kB / 400.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1395, allocations: 132 kB / 400.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1395, allocations: 19.8 kB / 400.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1395, allocations: 0 / 400.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1397, allocations: 330.8 kB / 401.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.1398, allocations: 27.92 kB / 401.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1399, allocations: 86.84 kB / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.14, allocations: 32.06 kB / 401.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.14, allocations: 0 / 401.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002574/0.1403, allocations: 129.3 kB / 401.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1403, allocations: 4 kB / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1403, allocations: 0 / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1403, allocations: 4 kB / 401.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1405, allocations: 15.98 kB / 401.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1405, allocations: 7.938 kB / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1406, allocations: 7.953 kB / 401.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1406, allocations: 8 kB / 401.5 MB, free: 11.84 MB / 302.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: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.1408, allocations: 161.7 kB / 401.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.1409, allocations: 65.36 kB / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.1409, allocations: 25.7 kB / 401.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1409, allocations: 4 kB / 401.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1409, allocations: 0 / 401.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.141, allocations: 0 / 401.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1412, allocations: 241.4 kB / 402 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1412, allocations: 7.922 kB / 402 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.1413, allocations: 16.06 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1413, allocations: 0 / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.1413, allocations: 4.047 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1413, allocations: 3.938 kB / 402 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1414, allocations: 3.984 kB / 402 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1416, allocations: 166.5 kB / 402.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1418, allocations: 116.8 kB / 402.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1418, allocations: 4 kB / 402.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.1419, allocations: 12.05 kB / 402.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.142, allocations: 11.98 kB / 402.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.142, allocations: 7.938 kB / 402.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.1423, allocations: 233.9 kB / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1423, allocations: 0 / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1426, allocations: 35.98 kB / 402.6 MB, free: 10.64 MB / 302.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1436, allocations: 427.7 kB / 403 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1438, allocations: 75.89 kB / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1438, allocations: 0 / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.1439, allocations: 28.05 kB / 403.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1444, allocations: 60.64 kB / 403.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.1451, allocations: 400.6 kB / 403.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1454, allocations: 0.7361 MB / 404.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.777e-05/0.1456, allocations: 29.53 kB / 404.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1456, allocations: 19.44 kB / 404.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1456, allocations: 3.938 kB / 404.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Templates: time 0.006402/0.152, allocations: 2.583 MB / 406.9 MB, free: 6.227 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches