Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 95.81 kB / 17 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001372, allocations: 193.2 kB / 17.91 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 4 kB / 307.1 MB, free: 1.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002297/0.1322, allocations: 1.388 MB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004317/0.1326, allocations: 175.5 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1328, allocations: 0 / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.1328, allocations: 7.922 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.133, allocations: 7.938 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1333, allocations: 47.27 kB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1334, allocations: 39.92 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1335, allocations: 35.91 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.1336, allocations: 15.91 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1336, allocations: 23.86 kB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1337, allocations: 0 / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.1337, allocations: 4 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.1337, allocations: 11.94 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.1338, allocations: 33.7 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1339, allocations: 51.83 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1339, allocations: 3.938 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1339, allocations: 0 / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1339, allocations: 0 / 360.5 MB, free: 11.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005409/0.1344, allocations: 375.3 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1345, allocations: 8.031 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1345, allocations: 7.906 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1348, allocations: 190.9 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1348, allocations: 11.98 kB / 361 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1348, allocations: 7.953 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1352, allocations: 161.8 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1352, allocations: 3.938 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1353, allocations: 4 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1353, allocations: 4 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1354, allocations: 43.92 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1359, allocations: 369.7 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1362, allocations: 127.7 kB / 361.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1363, allocations: 58.69 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1363, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1364, allocations: 38.55 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1364, allocations: 0 / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003436/0.1367, allocations: 121.5 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.1368, allocations: 115 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1369, allocations: 140.8 kB / 362.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.137, allocations: 25.7 kB / 362.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.137, allocations: 92.05 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.137, allocations: 8.141 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.137, allocations: 4 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1372, allocations: 318.8 kB / 362.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1372, allocations: 19.98 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.1373, allocations: 71.66 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.294e-05/0.1374, allocations: 27.98 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1374, allocations: 0 / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.1376, allocations: 117.5 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1376, allocations: 4 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1376, allocations: 4 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1377, allocations: 0 / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.1377, allocations: 23.92 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1378, allocations: 4 kB / 362.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1378, allocations: 7.906 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1378, allocations: 12 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001239/0.138, allocations: 133.8 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1381, allocations: 85.81 kB / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1382, allocations: 12.72 kB / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1382, allocations: 0 / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1382, allocations: 0 / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1382, allocations: 4.188 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1385, allocations: 185.6 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1385, allocations: 3.938 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1386, allocations: 16 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1386, allocations: 8 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1386, allocations: 3.984 kB / 363.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1386, allocations: 3.938 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1386, allocations: 4 kB / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.139, allocations: 316.2 kB / 363.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.1391, allocations: 93 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1392, allocations: 7.984 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1393, allocations: 8 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1393, allocations: 3.953 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1393, allocations: 4 kB / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.1394, allocations: 111.2 kB / 363.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1394, allocations: 4 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1397, allocations: 8 kB / 363.9 MB, free: 7.93 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 (10): * Single equations (assignments): 10 * 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.0001475/0.1399, allocations: 107.1 kB / 364 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1401, allocations: 55.91 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1401, allocations: 4.562 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.1402, allocations: 19.94 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.1407, allocations: 34.42 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.1412, allocations: 227 kB / 364.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1416, allocations: 0.7004 MB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.1416, allocations: 4.672 kB / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1416, allocations: 15.44 kB / 365.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1417, allocations: 0 / 365.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of Templates: time 0.003386/0.145, allocations: 0.6035 MB / 365.7 MB, free: 6.102 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches