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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001602/0.001602, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.575/1.575, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 53.31 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003294/0.1303, allocations: 1.597 MB / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1314, allocations: 0.5376 MB / 430 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1315, allocations: 8 kB / 430 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.1316, allocations: 3.938 kB / 430 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1317, allocations: 7.875 kB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1321, allocations: 63.86 kB / 430.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1322, allocations: 43.8 kB / 430.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1323, allocations: 11.98 kB / 430.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1325, allocations: 31.86 kB / 430.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1325, allocations: 23.84 kB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1326, allocations: 4 kB / 430.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.1326, allocations: 4 kB / 430.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1327, allocations: 19.92 kB / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.1327, allocations: 27.81 kB / 430.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1329, allocations: 59.73 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1329, allocations: 0 / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1329, allocations: 0 / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1329, allocations: 0 / 430.3 MB, free: 2.035 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.0005824/0.1335, allocations: 375.1 kB / 430.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1335, allocations: 8.031 kB / 430.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1337, allocations: 20.83 kB / 430.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.134, allocations: 210.8 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.134, allocations: 4.375 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.134, allocations: 4.375 kB / 430.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1343, allocations: 125.3 kB / 431 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1343, allocations: 0 / 431 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1344, allocations: 4 kB / 431 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1344, allocations: 0 / 431 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.1344, allocations: 19.92 kB / 431 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1348, allocations: 265.8 kB / 431.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.135, allocations: 138.2 kB / 431.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.1351, allocations: 29.77 kB / 431.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1351, allocations: 0 / 431.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1352, allocations: 34.56 kB / 431.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.176e-06/0.1352, allocations: 11.98 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002831/0.1355, allocations: 81.55 kB / 431.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1355, allocations: 81.05 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1357, allocations: 134.2 kB / 431.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1357, allocations: 33.7 kB / 431.8 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1358, allocations: 88.12 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1358, allocations: 3.953 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1358, allocations: 21.84 kB / 431.9 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.136, allocations: 318.8 kB / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.136, allocations: 8 kB / 432.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.1361, allocations: 35.36 kB / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1362, allocations: 59.3 kB / 432.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1362, allocations: 0 / 432.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/0.1364, allocations: 69.56 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1364, allocations: 4 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1364, allocations: 128 / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1364, allocations: 8 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.1365, allocations: 4 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1365, allocations: 4 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.1365, allocations: 7.922 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1365, allocations: 4 kB / 432.5 MB, free: 15.57 MB / 366.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.0001106/0.1366, allocations: 121.7 kB / 432.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.1367, allocations: 49.64 kB / 432.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1368, allocations: 12.25 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1368, allocations: 4 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1368, allocations: 0 / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1368, allocations: 4 kB / 432.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.137, allocations: 173.6 kB / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.137, allocations: 0 / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.137, allocations: 8 kB / 432.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.137, allocations: 0 / 432.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.137, allocations: 8 kB / 432.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.137, allocations: 0 / 432.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.137, allocations: 0 / 432.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1373, allocations: 180.2 kB / 433 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.1374, allocations: 96.98 kB / 433.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1374, allocations: 3.984 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1374, allocations: 4 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1375, allocations: 0 / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1375, allocations: 4 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.1376, allocations: 113.5 kB / 433.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 433.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1378, allocations: 4 kB / 433.2 MB, free: 14.68 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.0001125/0.1379, allocations: 95.25 kB / 433.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.1381, allocations: 39.86 kB / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1381, allocations: 0 / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.1381, allocations: 8.234 kB / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1385, allocations: 32.47 kB / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.1389, allocations: 193.2 kB / 433.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1392, allocations: 0.6885 MB / 434.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.1393, allocations: 11.44 kB / 434.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1393, allocations: 0 / 434.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Templates: time 0.002804/0.1421, allocations: 0.7742 MB / 435.1 MB, free: 12.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 7.210259251995012]