Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.008539/0.008539, allocations: 106.1 kB / 21.98 MB, free: 5.227 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.001696/0.001696, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 259 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.35 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002744/0.2514, allocations: 1.477 MB / 434.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.2516, allocations: 31.84 kB / 434.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2516, allocations: 4 kB / 434.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.2516, allocations: 3.938 kB / 434.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.2517, allocations: 3.938 kB / 434.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2519, allocations: 27.95 kB / 434.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.252, allocations: 31.86 kB / 434.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.2521, allocations: 11.92 kB / 434.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.2521, allocations: 8 kB / 434.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.2522, allocations: 19.91 kB / 434.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2522, allocations: 8 kB / 434.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.2522, allocations: 4 kB / 434.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2522, allocations: 7.938 kB / 434.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.2523, allocations: 11.94 kB / 434.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.2524, allocations: 31.55 kB / 434.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2524, allocations: 4 kB / 434.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.2524, allocations: 0 / 434.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2524, allocations: 0 / 434.9 MB, free: 5.277 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.0004298/0.2528, allocations: 271.8 kB / 435.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2528, allocations: 8.031 kB / 435.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.2529, allocations: 12.89 kB / 435.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2531, allocations: 114.5 kB / 435.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2531, allocations: 384 / 435.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2531, allocations: 8.312 kB / 435.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2535, allocations: 115.9 kB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2535, allocations: 192 / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2535, allocations: 7.938 kB / 435.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2535, allocations: 0 / 435.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.2536, allocations: 27.97 kB / 435.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2537, allocations: 128.7 kB / 435.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2539, allocations: 54.48 kB / 435.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.254, allocations: 24.92 kB / 435.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.254, allocations: 4 kB / 435.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.254, allocations: 34.56 kB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.254, allocations: 0 / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002747/0.2543, allocations: 85.55 kB / 435.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2544, allocations: 55.41 kB / 435.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.2544, allocations: 105.8 kB / 435.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2545, allocations: 25.7 kB / 435.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.2545, allocations: 88.08 kB / 436 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.2545, allocations: 4 kB / 436 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.2546, allocations: 17.72 kB / 436 MB, free: 3.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2547, allocations: 318.8 kB / 436.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.2547, allocations: 4 kB / 436.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.2547, allocations: 31.38 kB / 436.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.357e-05/0.2548, allocations: 43.36 kB / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2548, allocations: 0 / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.328e-05/0.2549, allocations: 61.59 kB / 436.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2549, allocations: 4 kB / 436.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2549, allocations: 11.86 kB / 436.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2549, allocations: 4 kB / 436.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.255, allocations: 8.125 kB / 436.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.255, allocations: 7.938 kB / 436.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.255, allocations: 3.938 kB / 436.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.255, allocations: 7.984 kB / 436.5 MB, free: 3.398 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.335e-05/0.2551, allocations: 114.2 kB / 436.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.2553, allocations: 57.86 kB / 436.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.2553, allocations: 19.95 kB / 436.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2553, allocations: 4 kB / 436.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2553, allocations: 4 kB / 436.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2553, allocations: 4 kB / 436.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2554, allocations: 128.7 kB / 436.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2554, allocations: 0 / 436.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.2555, allocations: 11.98 kB / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2555, allocations: 0 / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2555, allocations: 7.875 kB / 436.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2555, allocations: 0 / 436.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2555, allocations: 0 / 436.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2557, allocations: 93.09 kB / 437 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.2557, allocations: 4 kB / 437 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2557, allocations: 3.938 kB / 437 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.2557, allocations: 8 kB / 437 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-06/0.2557, allocations: 0 / 437 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2557, allocations: 0 / 437 MB, free: 2.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.2558, allocations: 87.27 kB / 437.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2558, allocations: 0 / 437.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.256, allocations: 11.94 kB / 437.1 MB, free: 2.766 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001093/0.2561, allocations: 96.52 kB / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.2562, allocations: 31.92 kB / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2562, allocations: 0 / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2562, allocations: 0 / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.2565, allocations: 31.94 kB / 437.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.2568, allocations: 147.3 kB / 437.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2571, allocations: 0.6793 MB / 438.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.2572, allocations: 15.44 kB / 438.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2572, allocations: 0 / 438.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Templates: time 0.002228/0.2594, allocations: 0.6315 MB / 438.7 MB, free: 1.078 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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: 7.227227799128741]