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.001289/0.001289, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001525/0.001525, allocations: 219.9 kB / 23 MB, free: 5.605 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.519/1.519, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.002917/0.002917, allocations: 63.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4224, allocations: 53.31 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003742/0.4262, allocations: 1.53 MB / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4273, allocations: 482.8 kB / 431.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.4274, allocations: 3.938 kB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/0.4274, allocations: 3.938 kB / 431.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.4275, allocations: 7.875 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.4279, allocations: 39.89 kB / 431.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.428, allocations: 27.92 kB / 431.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4282, allocations: 12 kB / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.4283, allocations: 31.84 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.4284, allocations: 15.92 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4284, allocations: 4 kB / 431.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.4284, allocations: 8 kB / 432 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.4285, allocations: 3.938 kB / 432 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.4285, allocations: 15.92 kB / 432 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4287, allocations: 43.48 kB / 432 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4287, allocations: 4 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4287, allocations: 0 / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4287, allocations: 0 / 432 MB, free: 5.352 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.0005586/0.4292, allocations: 352.9 kB / 432.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4293, allocations: 12.03 kB / 432.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.4295, allocations: 12.92 kB / 432.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.4297, allocations: 180.2 kB / 432.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4297, allocations: 8.375 kB / 432.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.4297, allocations: 4.375 kB / 432.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.4301, allocations: 119.6 kB / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4301, allocations: 4 kB / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.4301, allocations: 0 / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4301, allocations: 0 / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.4302, allocations: 23.98 kB / 432.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.4304, allocations: 161.6 kB / 432.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4305, allocations: 66.47 kB / 432.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.4306, allocations: 24.86 kB / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4306, allocations: 0 / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.4307, allocations: 42.5 kB / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4307, allocations: 0 / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002714/0.4309, allocations: 69.67 kB / 433.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.431, allocations: 67.27 kB / 433.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4311, allocations: 109.8 kB / 433.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4312, allocations: 25.7 kB / 433.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4312, allocations: 84.14 kB / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.4312, allocations: 0 / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.4312, allocations: 21.72 kB / 433.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4314, allocations: 318.8 kB / 433.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.4314, allocations: 4 kB / 433.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.4315, allocations: 23.44 kB / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.4315, allocations: 43.38 kB / 433.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4315, allocations: 0 / 433.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.224e-05/0.4316, allocations: 57.58 kB / 433.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4316, allocations: 7.938 kB / 433.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4316, allocations: 4 kB / 433.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4316, allocations: 0 / 433.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.4317, allocations: 16.05 kB / 433.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.4317, allocations: 4 kB / 433.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.4317, allocations: 0 / 433.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4317, allocations: 4 kB / 433.8 MB, free: 3.27 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.822e-05/0.4318, allocations: 109.8 kB / 434 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.432, allocations: 69.56 kB / 434 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.432, allocations: 11.91 kB / 434 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.432, allocations: 0 / 434 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.432, allocations: 3.938 kB / 434 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.432, allocations: 4 kB / 434 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4322, allocations: 161.6 kB / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4322, allocations: 0 / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.4322, allocations: 8.375 kB / 434.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4322, allocations: 3.938 kB / 434.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4322, allocations: 0 / 434.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4322, allocations: 0 / 434.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4322, allocations: 7.938 kB / 434.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.4324, allocations: 85.11 kB / 434.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.4325, allocations: 96.98 kB / 434.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.4325, allocations: 0 / 434.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.4325, allocations: 8.312 kB / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-06/0.4325, allocations: 0 / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.4325, allocations: 4 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.4326, allocations: 91.2 kB / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4326, allocations: 0 / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000194/0.4328, allocations: 4 kB / 434.5 MB, free: 2.5 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.0001251/0.4329, allocations: 99.25 kB / 434.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.4331, allocations: 27.97 kB / 434.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4331, allocations: 0 / 434.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.4331, allocations: 3.938 kB / 434.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.4333, allocations: 23.98 kB / 434.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.4336, allocations: 150.9 kB / 434.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.434, allocations: 0.6807 MB / 435.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.434, allocations: 0 / 435.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.4341, allocations: 7.438 kB / 435.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4341, allocations: 0 / 435.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Templates: time 0.003122/0.4372, allocations: 380.8 kB / 435.9 MB, free: 1.082 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/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: 5.014109389856458]