Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, 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.001424/0.001424, 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.481/1.481, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.72 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003117/0.1252, allocations: 1.544 MB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.1256, allocations: 147.5 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.1257, allocations: 7.938 kB / 359.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.903e-05/0.1258, allocations: 3.938 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.126, allocations: 7.922 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1262, allocations: 39.91 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1264, allocations: 31.86 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1265, allocations: 19.97 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.1266, allocations: 15.92 kB / 359.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1266, allocations: 19.92 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1266, allocations: 4 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.1267, allocations: 0 / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.1267, allocations: 11.94 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1268, allocations: 23.81 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1269, allocations: 47.8 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1269, allocations: 0 / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1269, allocations: 0 / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1269, allocations: 0 / 359.5 MB, free: 12.09 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.0005345/0.1275, allocations: 367.4 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1275, allocations: 16.03 kB / 359.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.1276, allocations: 8.844 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1278, allocations: 190.4 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1278, allocations: 384 / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1278, allocations: 12.31 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1281, allocations: 113.6 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1281, allocations: 192 / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1282, allocations: 3.938 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1282, allocations: 7.938 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.1283, allocations: 19.97 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.1286, allocations: 253.8 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1288, allocations: 142.2 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.1289, allocations: 29.77 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.129, allocations: 3.984 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.129, allocations: 42.5 kB / 360.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.129, allocations: 0 / 360.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.1293, allocations: 81.48 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1293, allocations: 89.05 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1295, allocations: 126.1 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1295, allocations: 29.7 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.1296, allocations: 84.14 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1296, allocations: 12.06 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1296, allocations: 21.61 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1298, allocations: 314.8 kB / 361.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.1298, allocations: 11.98 kB / 361.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.1299, allocations: 31.44 kB / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/0.13, allocations: 47.36 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.13, allocations: 0 / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.1301, allocations: 65.55 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1302, allocations: 8 kB / 361.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1302, allocations: 4.125 kB / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1302, allocations: 0 / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.1303, allocations: 11.94 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1303, allocations: 3.984 kB / 361.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1303, allocations: 4 kB / 361.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1303, allocations: 4 kB / 361.6 MB, free: 9.668 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 0.0001028/0.1305, allocations: 117.8 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.1305, allocations: 49.59 kB / 361.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1306, allocations: 8.25 kB / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1306, allocations: 8 kB / 361.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1306, allocations: 3.938 kB / 361.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1306, allocations: 0 / 361.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1308, allocations: 169.6 kB / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1309, allocations: 4 kB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1309, allocations: 15.92 kB / 361.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1309, allocations: 4 kB / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1309, allocations: 0 / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1309, allocations: 0 / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.131, allocations: 0 / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1312, allocations: 172.2 kB / 362.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1312, allocations: 96.94 kB / 362.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1313, allocations: 0 / 362.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.1313, allocations: 4 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1314, allocations: 0 / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1314, allocations: 0 / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.1314, allocations: 113.6 kB / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1315, allocations: 0 / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1317, allocations: 8 kB / 362.3 MB, free: 8.801 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.0001353/0.1318, allocations: 99.19 kB / 362.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.132, allocations: 35.91 kB / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.132, allocations: 0 / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.132, allocations: 8.25 kB / 362.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1325, allocations: 23.95 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1329, allocations: 150.3 kB / 362.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1332, allocations: 0.6851 MB / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1333, allocations: 12.3 kB / 363.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1333, allocations: 7.438 kB / 363.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1333, allocations: 0 / 363.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of Templates: time 0.003215/0.1365, allocations: 0.4987 MB / 363.8 MB, free: 7.23 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches