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.00172/0.00172, allocations: 118.7 kB / 18.46 MB, free: 4.602 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.002045/0.002045, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.498/1.498, 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.00152/0.00152, allocations: 47.92 kB / 366.8 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 52.14 MB / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003163/0.1171, allocations: 1.5 MB / 420.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.118, allocations: 430.9 kB / 420.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1181, allocations: 3.938 kB / 420.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.1181, allocations: 0 / 420.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.1182, allocations: 15.86 kB / 420.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1185, allocations: 35.84 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1186, allocations: 31.92 kB / 421 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1187, allocations: 11.98 kB / 421 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1188, allocations: 27.84 kB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.1188, allocations: 19.92 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1188, allocations: 3.938 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1189, allocations: 4 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.1189, allocations: 4 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.1189, allocations: 19.86 kB / 421.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.119, allocations: 39.83 kB / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.119, allocations: 0 / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.119, allocations: 0 / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.119, allocations: 0 / 421.1 MB, free: 10.04 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.0005724/0.1196, allocations: 353.6 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1197, allocations: 8.031 kB / 421.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1197, allocations: 8.891 kB / 421.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.12, allocations: 184.2 kB / 421.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.12, allocations: 4.375 kB / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.12, allocations: 384 / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.1204, allocations: 115.6 kB / 421.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1204, allocations: 0 / 421.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1204, allocations: 4 kB / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1204, allocations: 0 / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.1205, allocations: 27.97 kB / 421.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1207, allocations: 161.6 kB / 421.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1208, allocations: 62.52 kB / 422 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.1209, allocations: 20.89 kB / 422 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1209, allocations: 3.984 kB / 422 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1209, allocations: 38.5 kB / 422.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1209, allocations: 0 / 422.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002717/0.1212, allocations: 89.55 kB / 422.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1213, allocations: 51.41 kB / 422.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1214, allocations: 117.8 kB / 422.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1214, allocations: 25.7 kB / 422.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1214, allocations: 80.14 kB / 422.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1215, allocations: 4 kB / 422.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1215, allocations: 13.72 kB / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1216, allocations: 322.8 kB / 422.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1217, allocations: 4 kB / 422.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.1217, allocations: 27.44 kB / 422.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.1217, allocations: 31.38 kB / 422.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1217, allocations: 4 kB / 422.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.606e-05/0.1218, allocations: 57.62 kB / 422.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1218, allocations: 7.938 kB / 422.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1218, allocations: 0 / 422.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1219, allocations: 7.938 kB / 422.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.1219, allocations: 7.984 kB / 422.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1219, allocations: 4 kB / 422.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1219, allocations: 0 / 422.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1219, allocations: 8.125 kB / 422.9 MB, free: 7.969 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 9.904e-05/0.122, allocations: 105.8 kB / 423 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.1222, allocations: 69.84 kB / 423.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1222, allocations: 7.953 kB / 423.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1222, allocations: 11.92 kB / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1222, allocations: 0 / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1222, allocations: 0 / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1223, allocations: 157.7 kB / 423.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1223, allocations: 0 / 423.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1224, allocations: 12 kB / 423.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1224, allocations: 7.875 kB / 423.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1224, allocations: 0 / 423.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1224, allocations: 3.984 kB / 423.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1224, allocations: 0 / 423.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1226, allocations: 93.06 kB / 423.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1227, allocations: 84.98 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1227, allocations: 8 kB / 423.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.1227, allocations: 0 / 423.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-06/0.1227, allocations: 0 / 423.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1227, allocations: 11.98 kB / 423.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.1228, allocations: 91.53 kB / 423.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1228, allocations: 0 / 423.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.123, allocations: 4 kB / 423.6 MB, free: 7.203 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.0001356/0.1231, allocations: 107.7 kB / 423.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1232, allocations: 23.98 kB / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1232, allocations: 3.938 kB / 423.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-06/0.1232, allocations: 3.984 kB / 423.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1235, allocations: 24.02 kB / 423.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.1238, allocations: 162.9 kB / 423.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1241, allocations: 0.6844 MB / 424.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.1241, allocations: 15.69 kB / 424.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1241, allocations: 0 / 424.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Templates: time 0.00245/0.1266, allocations: 0.5861 MB / 425.2 MB, free: 5.531 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.680364635074511]