Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 123.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 194.6 kB / 21.4 MB, free: 1.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 51.91 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1199, allocations: 52.13 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003504/0.1235, allocations: 1.501 MB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.1244, allocations: 434.9 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.1245, allocations: 7.875 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.1245, allocations: 0 / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.1246, allocations: 15.88 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1249, allocations: 31.91 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.125, allocations: 31.92 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1251, allocations: 11.98 kB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.1252, allocations: 27.84 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.1252, allocations: 11.88 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1253, allocations: 4 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.1253, allocations: 4 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.1253, allocations: 7.984 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1253, allocations: 15.88 kB / 421 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1255, allocations: 43.81 kB / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1255, allocations: 0 / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1255, allocations: 0 / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1255, allocations: 0 / 421.1 MB, free: 9.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005233/0.126, allocations: 351.3 kB / 421.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.126, allocations: 12.03 kB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1261, allocations: 4.891 kB / 421.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1263, allocations: 180.3 kB / 421.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1264, allocations: 4.375 kB / 421.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1264, allocations: 12.31 kB / 421.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.1268, allocations: 115.6 kB / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1268, allocations: 0 / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1268, allocations: 3.938 kB / 421.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1268, allocations: 0 / 421.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1269, allocations: 23.98 kB / 421.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1271, allocations: 161.7 kB / 421.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1273, allocations: 54.48 kB / 422 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.1274, allocations: 28.92 kB / 422 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1274, allocations: 0 / 422 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1274, allocations: 38.5 kB / 422.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1274, allocations: 0 / 422.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000287/0.1277, allocations: 73.62 kB / 422.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1278, allocations: 63.34 kB / 422.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1279, allocations: 109.8 kB / 422.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1279, allocations: 25.7 kB / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.128, allocations: 92.14 kB / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.128, allocations: 3.984 kB / 422.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.128, allocations: 17.72 kB / 422.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1282, allocations: 310.8 kB / 422.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.1282, allocations: 4 kB / 422.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.1282, allocations: 31.42 kB / 422.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.1283, allocations: 35.38 kB / 422.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1283, allocations: 0 / 422.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.1284, allocations: 53.62 kB / 422.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1284, allocations: 11.94 kB / 422.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1284, allocations: 4 kB / 422.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1284, allocations: 4.125 kB / 422.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.1285, allocations: 11.94 kB / 422.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1285, allocations: 0 / 422.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.1286, allocations: 4 kB / 422.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1286, allocations: 0 / 422.9 MB, free: 7.895 MB / 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 0.000104/0.1287, allocations: 117.8 kB / 423 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.1288, allocations: 69.84 kB / 423.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1288, allocations: 3.906 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1288, allocations: 4 kB / 423.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1289, allocations: 0 / 423.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1289, allocations: 7.984 kB / 423.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.129, allocations: 157.6 kB / 423.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.129, allocations: 3.938 kB / 423.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.1291, allocations: 15.98 kB / 423.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1291, allocations: 3.938 kB / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1291, allocations: 0 / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1291, allocations: 0 / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1291, allocations: 0 / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1293, allocations: 93.06 kB / 423.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.1294, allocations: 88.97 kB / 423.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1294, allocations: 0 / 423.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.1294, allocations: 8 kB / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.1294, allocations: 384 / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1295, allocations: 0 / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.1295, allocations: 91.2 kB / 423.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1295, allocations: 0 / 423.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1299, allocations: 15.94 kB / 423.6 MB, free: 7.117 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001293/0.13, allocations: 99.72 kB / 423.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1301, allocations: 23.98 kB / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1301, allocations: 0 / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1301, allocations: 0 / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1305, allocations: 31.84 kB / 423.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1309, allocations: 167.2 kB / 423.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.1313, allocations: 0.6883 MB / 424.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1313, allocations: 7.438 kB / 424.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1313, allocations: 4 kB / 424.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of Templates: time 0.002431/0.1337, allocations: 0.5882 MB / 425.2 MB, free: 5.449 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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: 6.898704234015895]