Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.00168/0.00168, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001973/0.001973, allocations: 186 kB / 24.45 MB, free: 3.867 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.418/1.418, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 47.86 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2896, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002776/0.2924, allocations: 1.468 MB / 425.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.2926, allocations: 35.84 kB / 425.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.2927, allocations: 0 / 425.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.2927, allocations: 3.938 kB / 425.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.2928, allocations: 4 kB / 425.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.293, allocations: 35.47 kB / 425.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.2931, allocations: 31.86 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2932, allocations: 11.98 kB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.2932, allocations: 8 kB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.2933, allocations: 11.92 kB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2933, allocations: 0 / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2933, allocations: 7.938 kB / 425.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.2933, allocations: 4 kB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.2934, allocations: 15.92 kB / 425.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.2935, allocations: 30.84 kB / 425.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2935, allocations: 4 kB / 425.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2935, allocations: 0 / 425.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2935, allocations: 0 / 425.5 MB, free: 12.82 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.000432/0.2939, allocations: 270 kB / 425.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.294, allocations: 12.02 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.294, allocations: 4.938 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.2942, allocations: 126.4 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2942, allocations: 384 / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2942, allocations: 4.375 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.2946, allocations: 123.8 kB / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2946, allocations: 192 / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2947, allocations: 7.938 kB / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2947, allocations: 0 / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2948, allocations: 23.97 kB / 426 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.2949, allocations: 105.3 kB / 426.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.2951, allocations: 54.55 kB / 426.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.2952, allocations: 24.92 kB / 426.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2952, allocations: 7.922 kB / 426.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2952, allocations: 42.56 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2952, allocations: 0 / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.2955, allocations: 81.55 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2956, allocations: 55.41 kB / 426.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.2957, allocations: 105.8 kB / 426.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2957, allocations: 25.7 kB / 426.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.2957, allocations: 84.14 kB / 426.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.2958, allocations: 4 kB / 426.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2958, allocations: 17.72 kB / 426.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2959, allocations: 314.8 kB / 426.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.2959, allocations: 15.94 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.296, allocations: 27.44 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.296, allocations: 39.36 kB / 427 MB, free: 11.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.296, allocations: 4 kB / 427 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.191e-05/0.2961, allocations: 53.58 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2961, allocations: 11.98 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2961, allocations: 4.125 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2962, allocations: 3.938 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.2962, allocations: 8 kB / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.2962, allocations: 0 / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.2963, allocations: 15.83 kB / 427.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2963, allocations: 0 / 427.1 MB, free: 10.97 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 0.0001057/0.2964, allocations: 117.8 kB / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.2965, allocations: 65.67 kB / 427.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.2965, allocations: 7.984 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2965, allocations: 3.938 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2965, allocations: 4 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2966, allocations: 0 / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.424e-05/0.2966, allocations: 101.3 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2966, allocations: 0 / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.2967, allocations: 11.98 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2967, allocations: 4 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.2967, allocations: 384 / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2967, allocations: 0 / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2967, allocations: 3.938 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.2969, allocations: 101 kB / 427.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.2969, allocations: 4 kB / 427.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2969, allocations: 8 kB / 427.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.2969, allocations: 4 kB / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-06/0.2969, allocations: 3.938 kB / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.297, allocations: 3.984 kB / 427.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.297, allocations: 79.28 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.297, allocations: 0 / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.2972, allocations: 8 kB / 427.6 MB, free: 10.38 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.0001089/0.2973, allocations: 95.25 kB / 427.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2974, allocations: 39.97 kB / 427.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2974, allocations: 0 / 427.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2974, allocations: 0 / 427.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2977, allocations: 36.91 kB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2981, allocations: 151.4 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.2981, allocations: 67.2 kB / 428 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2981, allocations: 7.438 kB / 428 MB, free: 9.938 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2981, allocations: 3.938 kB / 428 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Templates: time 0.00254/0.3007, allocations: 0.6407 MB / 428.7 MB, free: 9.293 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.765896821860224]