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.001913/0.001913, allocations: 104.1 kB / 16.45 MB, free: 6.43 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.001967/0.001967, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.726/1.726, 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.08687/0.08687, 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.003429/0.00343, allocations: 88 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1291, allocations: 49.41 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.004371/0.1335, allocations: 1.864 MB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.136, allocations: 1.08 MB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.1363, allocations: 3.938 kB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.1368, allocations: 63.73 kB / 446.6 MB, free: 13.45 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.1373, allocations: 91.58 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000875/0.1381, allocations: 235.3 kB / 446.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1385, allocations: 167.6 kB / 447.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1386, allocations: 41.44 kB / 447.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1388, allocations: 71.7 kB / 447.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.139, allocations: 83.62 kB / 447.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1391, allocations: 11.94 kB / 447.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1393, allocations: 63.95 kB / 447.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1394, allocations: 47.83 kB / 447.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1395, allocations: 83.41 kB / 447.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.14, allocations: 231.3 kB / 447.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.14, allocations: 3.938 kB / 447.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.14, allocations: 0 / 447.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.1401, allocations: 0 / 447.7 MB, free: 12.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001002/0.1411, allocations: 0.5273 MB / 448.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1411, allocations: 12.03 kB / 448.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1412, allocations: 24.66 kB / 448.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.1418, allocations: 287.5 kB / 448.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1418, allocations: 8.375 kB / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1418, allocations: 8.125 kB / 448.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.1422, allocations: 163.6 kB / 448.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1423, allocations: 0 / 448.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1423, allocations: 4 kB / 448.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1423, allocations: 0 / 448.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1424, allocations: 43.89 kB / 448.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.1432, allocations: 386.2 kB / 449.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1435, allocations: 115.9 kB / 449.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.1436, allocations: 50.56 kB / 449.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1436, allocations: 0 / 449.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.1438, allocations: 75.38 kB / 449.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.1438, allocations: 7.938 kB / 449.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004718/0.1443, allocations: 149.4 kB / 449.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1444, allocations: 162.2 kB / 449.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.1448, allocations: 326.6 kB / 450 MB, free: 9.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1448, allocations: 29.7 kB / 450 MB, free: 9.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.145, allocations: 124.1 kB / 450.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.145, allocations: 19.8 kB / 450.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1451, allocations: 33.97 kB / 450.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1452, allocations: 334.8 kB / 450.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.1453, allocations: 23.98 kB / 450.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1454, allocations: 90.78 kB / 450.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1456, allocations: 84.47 kB / 450.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1456, allocations: 3.938 kB / 450.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002688/0.1459, allocations: 125.3 kB / 450.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1459, allocations: 7.938 kB / 450.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1459, allocations: 4.125 kB / 450.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.146, allocations: 4 kB / 450.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1461, allocations: 19.98 kB / 450.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1461, allocations: 0 / 450.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.1462, allocations: 15.92 kB / 450.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1462, allocations: 7.984 kB / 450.9 MB, free: 8.777 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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.1464, allocations: 153.8 kB / 451 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1465, allocations: 69.44 kB / 451.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.1465, allocations: 21.72 kB / 451.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1465, allocations: 4 kB / 451.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1466, allocations: 0 / 451.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1466, allocations: 7.922 kB / 451.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1469, allocations: 237.6 kB / 451.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1469, allocations: 0 / 451.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.147, allocations: 15.94 kB / 451.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.147, allocations: 0 / 451.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.147, allocations: 7.984 kB / 451.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.147, allocations: 4 kB / 451.4 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.147, allocations: 4.031 kB / 451.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.1474, allocations: 166.4 kB / 451.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1475, allocations: 112.8 kB / 451.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.1476, allocations: 7.984 kB / 451.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1477, allocations: 4 kB / 451.7 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1478, allocations: 15.98 kB / 451.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1478, allocations: 12 kB / 451.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.1482, allocations: 237.9 kB / 452 MB, free: 7.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1482, allocations: 96 / 452 MB, free: 7.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1487, allocations: 31.94 kB / 452 MB, free: 7.578 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: 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 (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.001531/0.1503, allocations: 408.6 kB / 452.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1507, allocations: 83.97 kB / 452.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1507, allocations: 0 / 452.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1508, allocations: 23.98 kB / 452.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.1514, allocations: 74.61 kB / 452.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.1522, allocations: 353.2 kB / 452.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1526, allocations: 0.7517 MB / 453.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1527, allocations: 25.53 kB / 453.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.1527, allocations: 19.44 kB / 453.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1527, allocations: 0 / 453.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of Templates: time 0.007787/0.1605, allocations: 2.812 MB / 456.5 MB, free: 2.977 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches