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.001138/0.001138, allocations: 95.08 kB / 16.3 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.001347/0.001347, allocations: 184.5 kB / 17.19 MB, free: 6.34 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.545/1.545, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 7.938 kB / 300.7 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 50.42 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001842/0.1433, allocations: 1.275 MB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.144, allocations: 479.1 kB / 352.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.1442, allocations: 0 / 352.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.1442, allocations: 3.938 kB / 352.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.1443, allocations: 15.97 kB / 352.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1446, allocations: 50.58 kB / 352.9 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.1447, allocations: 27.97 kB / 353 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.1448, allocations: 20.39 kB / 353 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.1449, allocations: 15.92 kB / 353 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.145, allocations: 15.92 kB / 353 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.145, allocations: 4 kB / 353 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.145, allocations: 0 / 353 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.145, allocations: 11.92 kB / 353 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1451, allocations: 37.64 kB / 353.1 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.1452, allocations: 39.86 kB / 353.1 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1452, allocations: 4 kB / 353.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1452, allocations: 0 / 353.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1452, allocations: 4 kB / 353.1 MB, free: 9.703 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.0004396/0.1456, allocations: 363.1 kB / 353.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1457, allocations: 8.031 kB / 353.5 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1457, allocations: 11.86 kB / 353.5 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1459, allocations: 202.8 kB / 353.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.146, allocations: 0 / 353.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.146, allocations: 8 kB / 353.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1463, allocations: 117.9 kB / 353.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1463, allocations: 3.938 kB / 353.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1464, allocations: 3.953 kB / 353.8 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1464, allocations: 0 / 353.8 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.1465, allocations: 27.98 kB / 353.9 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1468, allocations: 270.6 kB / 354.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1469, allocations: 75.78 kB / 354.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.147, allocations: 0 / 354.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.147, allocations: 46.56 kB / 354.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.147, allocations: 0 / 354.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002953/0.1473, allocations: 93.7 kB / 354.3 MB, free: 8.289 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.1474, allocations: 106.8 kB / 354.4 MB, free: 8.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1476, allocations: 140.4 kB / 354.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1476, allocations: 25.7 kB / 354.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.1477, allocations: 96.06 kB / 354.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1477, allocations: 8.094 kB / 354.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1477, allocations: 4 kB / 354.7 MB, free: 7.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1479, allocations: 318.8 kB / 355 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.148, allocations: 8 kB / 355 MB, free: 7.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.148, allocations: 35.42 kB / 355.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.1481, allocations: 20 kB / 355.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1481, allocations: 0 / 355.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/0.1483, allocations: 77.5 kB / 355.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1483, allocations: 5.875 kB / 355.2 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1483, allocations: 4.125 kB / 355.2 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1483, allocations: 4 kB / 355.2 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.1484, allocations: 11.98 kB / 355.2 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1484, allocations: 3.938 kB / 355.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1485, allocations: 7.906 kB / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1485, allocations: 4 kB / 355.2 MB, free: 7.359 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1486, allocations: 121.8 kB / 355.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.1487, allocations: 61.53 kB / 355.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.1488, allocations: 11.86 kB / 355.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1488, allocations: 0 / 355.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1488, allocations: 4 kB / 355.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1488, allocations: 0 / 355.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.149, allocations: 169.6 kB / 355.5 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.149, allocations: 4 kB / 355.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.1491, allocations: 15.98 kB / 355.6 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1491, allocations: 0 / 355.6 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1492, allocations: 3.953 kB / 355.6 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1492, allocations: 11.97 kB / 355.6 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1492, allocations: 0 / 355.6 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1494, allocations: 204.5 kB / 355.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1495, allocations: 89 kB / 355.9 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1495, allocations: 4 kB / 355.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1496, allocations: 7.984 kB / 355.9 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1496, allocations: 4.141 kB / 355.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1497, allocations: 0 / 355.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.866e-05/0.1497, allocations: 111.2 kB / 356 MB, free: 6.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1497, allocations: 0 / 356 MB, free: 6.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.15, allocations: 4 kB / 356 MB, free: 6.426 MB / 286.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 (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.0001571/0.1502, allocations: 103.2 kB / 356.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1503, allocations: 39.97 kB / 356.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1503, allocations: 3.938 kB / 356.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.1504, allocations: 11.98 kB / 356.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1507, allocations: 34.11 kB / 356.2 MB, free: 6.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.1511, allocations: 202.5 kB / 356.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1514, allocations: 0.7006 MB / 357.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.813e-05/0.1515, allocations: 4.188 kB / 357.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.1515, allocations: 7.438 kB / 357.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1515, allocations: 0 / 357.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of Templates: time 0.003169/0.1547, allocations: 0.5101 MB / 357.6 MB, free: 4.754 MB / 286.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches