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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002153/0.002153, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.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.002856/0.002856, allocations: 63.89 kB / 379 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3131, allocations: 53.4 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002961/0.316, allocations: 1.515 MB / 433.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.3169, allocations: 442.9 kB / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.3169, allocations: 0 / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.317, allocations: 3.938 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.317, allocations: 7.875 kB / 434.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3173, allocations: 35.89 kB / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3174, allocations: 39.86 kB / 434.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.3175, allocations: 8 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3176, allocations: 31.91 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.3177, allocations: 15.86 kB / 434.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3177, allocations: 4 kB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.3177, allocations: 4 kB / 434.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.3178, allocations: 4 kB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3178, allocations: 23.84 kB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3179, allocations: 42.5 kB / 434.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3179, allocations: 0 / 434.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3179, allocations: 4 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3179, allocations: 4 kB / 434.6 MB, free: 4.316 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.0004568/0.3184, allocations: 266.2 kB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3184, allocations: 11.98 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3186, allocations: 12.92 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3188, allocations: 134.3 kB / 435 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3188, allocations: 384 / 435 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3188, allocations: 4.375 kB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3192, allocations: 119.6 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3192, allocations: 0 / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3192, allocations: 4 kB / 435.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3192, allocations: 4 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.3193, allocations: 19.97 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3194, allocations: 117.2 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3196, allocations: 54.55 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.3196, allocations: 24.92 kB / 435.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3197, allocations: 3.938 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3197, allocations: 34.56 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3197, allocations: 0 / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002317/0.3199, allocations: 81.55 kB / 435.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.32, allocations: 55.39 kB / 435.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.3201, allocations: 109.8 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3201, allocations: 25.7 kB / 435.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.3202, allocations: 88.14 kB / 435.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.3202, allocations: 4 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3202, allocations: 13.72 kB / 435.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3204, allocations: 322.8 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.3204, allocations: 0 / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.3204, allocations: 27.44 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.3205, allocations: 35.38 kB / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3205, allocations: 8 kB / 436.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.507e-05/0.3205, allocations: 61.52 kB / 436.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3206, allocations: 4 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3206, allocations: 4.312 kB / 436.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3206, allocations: 4 kB / 436.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.3206, allocations: 7.984 kB / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3206, allocations: 0 / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3207, allocations: 11.94 kB / 436.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3207, allocations: 0 / 436.2 MB, free: 2.477 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 8.149e-05/0.3207, allocations: 114 kB / 436.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3209, allocations: 61.62 kB / 436.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.3209, allocations: 15.92 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3209, allocations: 4 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3209, allocations: 0 / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3209, allocations: 0 / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/0.321, allocations: 113.2 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.321, allocations: 4 kB / 436.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.3211, allocations: 8 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3211, allocations: 0 / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3211, allocations: 4 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3211, allocations: 7.922 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3211, allocations: 3.938 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3212, allocations: 85.44 kB / 436.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.3213, allocations: 11.98 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3213, allocations: 3.938 kB / 436.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.3213, allocations: 7.938 kB / 436.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.3213, allocations: 0 / 436.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3213, allocations: 4 kB / 436.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.3214, allocations: 87.27 kB / 436.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3214, allocations: 8 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3216, allocations: 4 kB / 436.7 MB, free: 1.867 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.0001044/0.3217, allocations: 91.25 kB / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3218, allocations: 27.92 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3218, allocations: 0 / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3218, allocations: 0 / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.322, allocations: 22.73 kB / 436.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.3223, allocations: 168.9 kB / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.3224, allocations: 63.34 kB / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.3224, allocations: 11.44 kB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3224, allocations: 288 / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of Templates: time 0.002059/0.3245, allocations: 0.6011 MB / 437.7 MB, free: 0.8359 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 [Calling sys.exit(0), Time elapsed: 6.601888290140778]