Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.00166/0.00166, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.002035/0.002035, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 54.92 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1279, allocations: 49.44 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003646/0.1316, allocations: 1.569 MB / 352.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1327, allocations: 0.504 MB / 352.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1328, allocations: 0 / 352.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.1329, allocations: 3.938 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1331, allocations: 19.84 kB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1336, allocations: 55.08 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1337, allocations: 43.8 kB / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1339, allocations: 24.16 kB / 352.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.134, allocations: 19.94 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.1341, allocations: 23.86 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1341, allocations: 3.938 kB / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.1341, allocations: 4 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1342, allocations: 15.92 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1343, allocations: 31.8 kB / 353 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1344, allocations: 47.81 kB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1344, allocations: 0 / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1344, allocations: 0 / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.1345, allocations: 0 / 353.1 MB, free: 2.043 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.0006275/0.1351, allocations: 398.5 kB / 353.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1352, allocations: 11.89 kB / 353.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.1352, allocations: 12.84 kB / 353.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1355, allocations: 192.1 kB / 353.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1355, allocations: 4.375 kB / 353.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1356, allocations: 4.375 kB / 353.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1359, allocations: 122 kB / 353.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1359, allocations: 3.938 kB / 353.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.136, allocations: 4 kB / 353.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.136, allocations: 0 / 353.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1361, allocations: 23.97 kB / 353.8 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.1366, allocations: 278.5 kB / 354.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1368, allocations: 63.78 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.1369, allocations: 34.64 kB / 354.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1369, allocations: 0 / 354.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.137, allocations: 42.55 kB / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.137, allocations: 0 / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003923/0.1374, allocations: 77.86 kB / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.1375, allocations: 114.8 kB / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1377, allocations: 145.8 kB / 354.6 MB, free: 304 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1377, allocations: 25.7 kB / 354.6 MB, free: 272 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.1378, allocations: 88.08 kB / 354.7 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1378, allocations: 7.906 kB / 354.7 MB, free: 172 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1379, allocations: 17.72 kB / 354.7 MB, free: 148 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.138, allocations: 326.7 kB / 355 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.1381, allocations: 11.98 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.1381, allocations: 31.45 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.1382, allocations: 51.36 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1383, allocations: 0 / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.1384, allocations: 73.55 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1384, allocations: 4 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1384, allocations: 0 / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1385, allocations: 4 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.1386, allocations: 11.98 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1386, allocations: 4.109 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1386, allocations: 11.91 kB / 355.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1386, allocations: 0 / 355.2 MB, free: 15.59 MB / 302.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 9.694e-05/0.1387, allocations: 121.8 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.1388, allocations: 53.55 kB / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1389, allocations: 15.86 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1389, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1389, allocations: 0 / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1389, allocations: 8 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1391, allocations: 177.6 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1391, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.1392, allocations: 11.98 kB / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1392, allocations: 4 kB / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1392, allocations: 0 / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1392, allocations: 0 / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1392, allocations: 0 / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1394, allocations: 193 kB / 355.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1395, allocations: 89 kB / 355.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1395, allocations: 0 / 355.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.1396, allocations: 8 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1396, allocations: 3.984 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1397, allocations: 4 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.593e-05/0.1398, allocations: 105.8 kB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1398, allocations: 4 kB / 356 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.14, allocations: 4 kB / 356 MB, free: 14.69 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: 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.0001262/0.1402, allocations: 107.2 kB / 356.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1403, allocations: 35.86 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1403, allocations: 4 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.1404, allocations: 11.92 kB / 356.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.1409, allocations: 28.41 kB / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1414, allocations: 210.2 kB / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1418, allocations: 0.7003 MB / 357.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1418, allocations: 15.44 kB / 357.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1418, allocations: 0 / 357.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003011/0.1449, allocations: 0.8133 MB / 357.9 MB, free: 12.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches