Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002046/0.002046, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002531/0.002531, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.58 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002921/0.135, allocations: 1.57 MB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.136, allocations: 0.5376 MB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.1361, allocations: 4 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.1362, allocations: 7.875 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1363, allocations: 11.88 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1366, allocations: 55.81 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.1367, allocations: 39.86 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1368, allocations: 27.94 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1369, allocations: 23.94 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1369, allocations: 19.86 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.137, allocations: 4 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.137, allocations: 8 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1371, allocations: 19.91 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1371, allocations: 31.73 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1372, allocations: 51.81 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1372, allocations: 0 / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1373, allocations: 0 / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1373, allocations: 4 kB / 360 MB, free: 11.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004594/0.1377, allocations: 391.1 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1378, allocations: 8.031 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.1379, allocations: 20.83 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1381, allocations: 180.3 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1381, allocations: 4.375 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1382, allocations: 4.375 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1384, allocations: 129.2 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1385, allocations: 3.938 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1385, allocations: 0 / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1385, allocations: 0 / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.1386, allocations: 19.98 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1389, allocations: 269.7 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1391, allocations: 138.2 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.1392, allocations: 29.77 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1392, allocations: 8 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1392, allocations: 34.5 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1392, allocations: 0 / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002495/0.1395, allocations: 77.56 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1396, allocations: 89.05 kB / 361.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1397, allocations: 136.6 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1397, allocations: 29.83 kB / 361.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1398, allocations: 92.12 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.1398, allocations: 3.984 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1398, allocations: 21.62 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.14, allocations: 318.8 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.14, allocations: 8 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.1401, allocations: 39.44 kB / 362 MB, free: 9.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1402, allocations: 47.3 kB / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1402, allocations: 0 / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.1404, allocations: 69.61 kB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1404, allocations: 7.938 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1404, allocations: 7.938 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1404, allocations: 0 / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.1405, allocations: 11.94 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1405, allocations: 0 / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1405, allocations: 15.89 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1406, allocations: 0 / 362.1 MB, free: 9.133 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.452e-05/0.1407, allocations: 125.9 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.1407, allocations: 45.97 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1408, allocations: 8.297 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1408, allocations: 7.984 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1408, allocations: 4 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1408, allocations: 0 / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.141, allocations: 181.5 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.141, allocations: 0 / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.1411, allocations: 11.94 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1411, allocations: 0 / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1411, allocations: 0 / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1411, allocations: 7.984 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1411, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1413, allocations: 172.2 kB / 362.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1414, allocations: 93.09 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1414, allocations: 0 / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1415, allocations: 0 / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1415, allocations: 8 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1415, allocations: 0 / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.476e-05/0.1416, allocations: 113.8 kB / 362.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1416, allocations: 0 / 362.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1419, allocations: 12 kB / 362.9 MB, free: 8.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001062/0.142, allocations: 95.25 kB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1422, allocations: 36.09 kB / 363 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1422, allocations: 0 / 363 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.1422, allocations: 8 kB / 363 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1426, allocations: 27.95 kB / 363.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.1429, allocations: 179.4 kB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1433, allocations: 0.6962 MB / 363.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.1433, allocations: 0 / 363.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1434, allocations: 19.42 kB / 363.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1434, allocations: 0 / 363.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.002916/0.1463, allocations: 0.5192 MB / 364.5 MB, free: 6.617 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches