Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 256.7 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 376.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2505, allocations: 53.31 MB / 430.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003294/0.2538, allocations: 1.507 MB / 431.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2548, allocations: 478.8 kB / 432.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.2549, allocations: 4 kB / 432.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.2549, allocations: 7.938 kB / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.255, allocations: 11.81 kB / 432.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.2553, allocations: 31.89 kB / 432.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2554, allocations: 31.92 kB / 432.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.2555, allocations: 12 kB / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2556, allocations: 27.84 kB / 432.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.2557, allocations: 19.92 kB / 432.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2557, allocations: 0 / 432.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.2557, allocations: 8 kB / 432.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.2557, allocations: 11.94 kB / 432.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.2558, allocations: 15.92 kB / 432.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2559, allocations: 49.02 kB / 432.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2559, allocations: 0 / 432.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2559, allocations: 0 / 432.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2559, allocations: 0 / 432.4 MB, free: 5.414 MB / 334.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.0005079/0.2565, allocations: 347.4 kB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2565, allocations: 12.02 kB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2566, allocations: 8.938 kB / 432.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2569, allocations: 196.1 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.257, allocations: 4.359 kB / 433 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.257, allocations: 8.375 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.2573, allocations: 115.6 kB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2573, allocations: 0 / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2573, allocations: 4 kB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2573, allocations: 3.984 kB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.2574, allocations: 19.98 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.2576, allocations: 165.6 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2578, allocations: 50.55 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.2579, allocations: 32.92 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2579, allocations: 0 / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2579, allocations: 34.5 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2579, allocations: 0 / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.2582, allocations: 77.59 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.2582, allocations: 59.41 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2583, allocations: 109.8 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2583, allocations: 29.7 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2584, allocations: 88.14 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.2584, allocations: 0 / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.2584, allocations: 17.72 kB / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2586, allocations: 314.8 kB / 434.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.2586, allocations: 4 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.2586, allocations: 27.44 kB / 434.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.2587, allocations: 39.36 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2587, allocations: 4 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.181e-05/0.2588, allocations: 57.53 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2588, allocations: 12.06 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2588, allocations: 3.984 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2588, allocations: 4 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.2589, allocations: 4.375 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2589, allocations: 0 / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.2589, allocations: 4 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.2589, allocations: 0 / 434.2 MB, free: 3.344 MB / 334.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.182e-05/0.259, allocations: 117.8 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.2591, allocations: 73.5 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.2592, allocations: 8.234 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2592, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2592, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2592, allocations: 7.984 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2593, allocations: 161.6 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2593, allocations: 0 / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.2594, allocations: 16 kB / 434.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2594, allocations: 7.922 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2594, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2594, allocations: 0 / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2594, allocations: 4 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.2595, allocations: 85.11 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.2596, allocations: 85 kB / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2596, allocations: 3.938 kB / 434.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.2597, allocations: 11.98 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-06/0.2597, allocations: 0 / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.2597, allocations: 3.938 kB / 434.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.2597, allocations: 91.28 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 0 / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001857/0.2599, allocations: 4 kB / 434.9 MB, free: 2.562 MB / 334.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.0001253/0.26, allocations: 99.23 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.2602, allocations: 27.92 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2602, allocations: 0 / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2602, allocations: 0 / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.2604, allocations: 20.25 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.2607, allocations: 160.4 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.261, allocations: 0.6845 MB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.2611, allocations: 7.438 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2611, allocations: 0 / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Templates: time 0.002002/0.2631, allocations: 0.5895 MB / 436.5 MB, free: 0.9141 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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