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.001279/0.001279, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001335/0.001335, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.359/1.359, allocations: 225.7 MB / 253.3 MB, free: 13.04 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002745/0.2656, allocations: 1.47 MB / 424.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.2658, allocations: 27.91 kB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.2659, allocations: 7.938 kB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.2659, allocations: 0 / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.266, allocations: 3.938 kB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2662, allocations: 23.97 kB / 425 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.2663, allocations: 27.92 kB / 425 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2664, allocations: 0 / 425 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.2665, allocations: 23.91 kB / 425 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.2665, allocations: 11.94 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2666, allocations: 4 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2666, allocations: 4 kB / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2666, allocations: 7.984 kB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.2666, allocations: 15.88 kB / 425 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2667, allocations: 35.55 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2667, allocations: 0 / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2667, allocations: 0 / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2667, allocations: 0 / 425.1 MB, free: 12.94 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.0004407/0.2672, allocations: 271.4 kB / 425.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2672, allocations: 12.03 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.2672, allocations: 192 / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2673, allocations: 42.73 kB / 425.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.2673, allocations: 0.9375 kB / 425.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2675, allocations: 130.4 kB / 425.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2675, allocations: 4.312 kB / 425.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2675, allocations: 4.375 kB / 425.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.2679, allocations: 119.6 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2679, allocations: 4 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2679, allocations: 0 / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2679, allocations: 0 / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.268, allocations: 31.89 kB / 425.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.2682, allocations: 136.7 kB / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2684, allocations: 50.55 kB / 425.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.2684, allocations: 28.92 kB / 425.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.2685, allocations: 0 / 425.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2685, allocations: 38.5 kB / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2685, allocations: 0 / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.2688, allocations: 81.55 kB / 426 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.2688, allocations: 59.41 kB / 426.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.2689, allocations: 105.8 kB / 426.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.269, allocations: 29.7 kB / 426.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.269, allocations: 80.14 kB / 426.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.269, allocations: 4 kB / 426.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.269, allocations: 13.72 kB / 426.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2692, allocations: 322.8 kB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.2692, allocations: 0 / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.2693, allocations: 31.44 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.2694, allocations: 43.36 kB / 426.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2694, allocations: 0 / 426.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.2695, allocations: 61.58 kB / 426.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.2695, allocations: 8.062 kB / 426.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2695, allocations: 7.984 kB / 426.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2695, allocations: 4 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.2696, allocations: 4 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2696, allocations: 4 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.2696, allocations: 7.891 kB / 426.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2697, allocations: 4 kB / 426.8 MB, free: 11 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 9.67e-05/0.2697, allocations: 109.8 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2699, allocations: 69.55 kB / 427 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.2699, allocations: 12 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2699, allocations: 3.984 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2699, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2699, allocations: 4 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2701, allocations: 124.8 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2701, allocations: 0 / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.2701, allocations: 15.92 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2701, allocations: 4.312 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2701, allocations: 0 / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2701, allocations: 4 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2701, allocations: 0 / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.2703, allocations: 101.2 kB / 427.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.2703, allocations: 7.938 kB / 427.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2703, allocations: 48 / 427.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.2704, allocations: 7.984 kB / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.2704, allocations: 0 / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2704, allocations: 4 kB / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.2704, allocations: 83.27 kB / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2704, allocations: 0 / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.2706, allocations: 8 kB / 427.3 MB, free: 10.37 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.0006098/0.2712, allocations: 0.6471 MB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2714, allocations: 35.91 kB / 428 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2714, allocations: 320 / 428 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2714, allocations: 4 kB / 428 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2717, allocations: 35.88 kB / 428.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2728, allocations: 1.174 MB / 429.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2732, allocations: 0.6911 MB / 429.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.2732, allocations: 4 kB / 429.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.2732, allocations: 15.42 kB / 429.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2732, allocations: 0 / 429.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2946, allocations: 1.525 MB / 431.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 9.312 kB / 431.5 MB, free: 6.234 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] 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: 13.275714957970195]