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.001085/0.001085, allocations: 98.89 kB / 16.5 MB, free: 6.688 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.001252/0.001252, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 48.05 kB / 299.9 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1322, allocations: 49.46 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003309/0.1356, allocations: 1.624 MB / 351 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.1364, allocations: 0.4948 MB / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.1365, allocations: 4 kB / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.1366, allocations: 7.922 kB / 351.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1367, allocations: 15.92 kB / 351.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.137, allocations: 50.27 kB / 351.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.1371, allocations: 43.8 kB / 351.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1372, allocations: 8.188 kB / 351.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.1373, allocations: 27.91 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1374, allocations: 19.86 kB / 351.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1374, allocations: 4 kB / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1374, allocations: 4 kB / 351.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1375, allocations: 15.92 kB / 351.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1375, allocations: 23.81 kB / 351.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1376, allocations: 55.73 kB / 351.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1376, allocations: 0 / 351.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1377, allocations: 0 / 351.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1377, allocations: 3.938 kB / 351.8 MB, free: 2.41 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.000646/0.1383, allocations: 375.4 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1384, allocations: 12.03 kB / 352.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1384, allocations: 12.84 kB / 352.2 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1387, allocations: 204 kB / 352.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1387, allocations: 384 / 352.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1388, allocations: 4.375 kB / 352.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1392, allocations: 114 kB / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1392, allocations: 4 kB / 352.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1392, allocations: 0 / 352.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1392, allocations: 4 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.1393, allocations: 23.92 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1398, allocations: 270.6 kB / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1399, allocations: 67.8 kB / 352.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.14, allocations: 34.62 kB / 352.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1401, allocations: 4 kB / 352.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.1401, allocations: 38.5 kB / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1401, allocations: 0 / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003604/0.1405, allocations: 85.5 kB / 353 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.1406, allocations: 106.8 kB / 353.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1408, allocations: 145 kB / 353.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1408, allocations: 29.64 kB / 353.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1409, allocations: 96.06 kB / 353.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.1409, allocations: 7.906 kB / 353.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1409, allocations: 17.66 kB / 353.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1411, allocations: 326.8 kB / 353.7 MB, free: 204 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.1411, allocations: 4 kB / 353.7 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.1412, allocations: 39.42 kB / 353.8 MB, free: 148 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.1413, allocations: 43.36 kB / 353.8 MB, free: 92 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1413, allocations: 8 kB / 353.8 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.1414, allocations: 69.61 kB / 353.9 MB, free: 8 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1414, allocations: 8 kB / 353.9 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1415, allocations: 0 / 353.9 MB, free: 0 / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1415, allocations: 0 / 353.9 MB, free: 0 / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.1416, allocations: 11.98 kB / 353.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1416, allocations: 4 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1416, allocations: 3.906 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1417, allocations: 7.938 kB / 353.9 MB, free: 15.97 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 7.721e-05/0.1417, allocations: 121.9 kB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.1418, allocations: 57.53 kB / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1419, allocations: 7.969 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1419, allocations: 7.984 kB / 354.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1419, allocations: 3.984 kB / 354.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1419, allocations: 3.938 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1421, allocations: 173.6 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1421, allocations: 0 / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.1422, allocations: 11.98 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1422, allocations: 4.062 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1422, allocations: 4 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1422, allocations: 0 / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1422, allocations: 0 / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1424, allocations: 181 kB / 354.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1424, allocations: 101 kB / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1425, allocations: 0 / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1425, allocations: 0 / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1426, allocations: 4 kB / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1426, allocations: 3.984 kB / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.1426, allocations: 111.2 kB / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1427, allocations: 0 / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1429, allocations: 4 kB / 354.7 MB, free: 15.08 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.0001055/0.143, allocations: 111.2 kB / 354.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1431, allocations: 31.92 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1431, allocations: 0 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.1432, allocations: 8 kB / 354.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1436, allocations: 26.77 kB / 354.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.144, allocations: 210.8 kB / 355.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1442, allocations: 0.6926 MB / 355.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.1443, allocations: 8 kB / 355.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.1443, allocations: 7.438 kB / 355.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1443, allocations: 0 / 355.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Templates: time 0.00286/0.1472, allocations: 0.5423 MB / 356.3 MB, free: 13.38 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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