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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.91 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 53.31 MB / 427.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003037/0.1252, allocations: 1.564 MB / 428.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.1257, allocations: 143.5 kB / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.1257, allocations: 0 / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.597e-05/0.1258, allocations: 7.922 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1259, allocations: 11.92 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1262, allocations: 35.91 kB / 428.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1263, allocations: 35.91 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1264, allocations: 8 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/0.1264, allocations: 19.92 kB / 429 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1265, allocations: 15.88 kB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1265, allocations: 0 / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.1265, allocations: 4 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1266, allocations: 15.92 kB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.1266, allocations: 15.88 kB / 429 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1267, allocations: 59.61 kB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1267, allocations: 0 / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1267, allocations: 0 / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1267, allocations: 0 / 429.1 MB, free: 2.551 MB / 350.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.00052/0.1273, allocations: 371.2 kB / 429.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1273, allocations: 12.03 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1273, allocations: 8.891 kB / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1276, allocations: 192.2 kB / 429.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1276, allocations: 4.375 kB / 429.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1276, allocations: 4.375 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1279, allocations: 129.4 kB / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.128, allocations: 192 / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.128, allocations: 7.938 kB / 429.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.128, allocations: 3.984 kB / 429.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.128, allocations: 15.98 kB / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1284, allocations: 257.8 kB / 430.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1286, allocations: 142.2 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.1287, allocations: 25.78 kB / 430.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1287, allocations: 3.984 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1287, allocations: 38.5 kB / 430.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1287, allocations: 0 / 430.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.129, allocations: 81.5 kB / 430.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1291, allocations: 81.11 kB / 430.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1292, allocations: 131.9 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1292, allocations: 25.83 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.1293, allocations: 92.12 kB / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1293, allocations: 7.953 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1293, allocations: 17.72 kB / 430.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1294, allocations: 314.8 kB / 431 MB, free: 360 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.1295, allocations: 7.984 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.1295, allocations: 35.42 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.1296, allocations: 47.36 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1296, allocations: 4 kB / 431.1 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.1298, allocations: 69.53 kB / 431.2 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1298, allocations: 4 kB / 431.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1298, allocations: 4 kB / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1298, allocations: 0 / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.1298, allocations: 11.98 kB / 431.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1299, allocations: 0 / 431.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.1299, allocations: 7.953 kB / 431.2 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1299, allocations: 0 / 431.2 MB, free: 136 kB / 350.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.438e-05/0.13, allocations: 125.8 kB / 431.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.1301, allocations: 46.06 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.1301, allocations: 16.23 kB / 431.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1301, allocations: 0 / 431.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1301, allocations: 4 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1301, allocations: 0 / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1303, allocations: 177.5 kB / 431.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1303, allocations: 0 / 431.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.1303, allocations: 11.94 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1303, allocations: 0 / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1304, allocations: 4 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1304, allocations: 0 / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1304, allocations: 4 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.1305, allocations: 172.2 kB / 431.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.1306, allocations: 97.03 kB / 431.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1306, allocations: 0 / 431.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.1307, allocations: 3.938 kB / 431.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1307, allocations: 7.984 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1307, allocations: 4 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.1308, allocations: 104.7 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1308, allocations: 0 / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.131, allocations: 4 kB / 432 MB, free: 15.25 MB / 366.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.0001095/0.1311, allocations: 99.25 kB / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1313, allocations: 31.91 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1313, allocations: 4.25 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.1313, allocations: 4 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1317, allocations: 26.7 kB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.132, allocations: 158.3 kB / 432.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1323, allocations: 0.6885 MB / 433 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.714e-05/0.1324, allocations: 4.062 kB / 433 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.1324, allocations: 15.44 kB / 433 MB, free: 14.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1324, allocations: 0 / 433 MB, free: 14.17 MB / 366.1 MB Notification: Performance of Templates: time 0.003083/0.1355, allocations: 0.4891 MB / 433.5 MB, free: 13.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.694495879113674]