Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001629/0.001629, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001758/0.001758, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.398/1.398, allocations: 230.2 MB / 254.5 MB, free: 15.27 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09827, allocations: 53.31 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00267/0.1009, allocations: 1.48 MB / 428.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.1011, allocations: 27.86 kB / 428.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.1012, allocations: 4 kB / 428.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.1012, allocations: 3.938 kB / 428.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.1013, allocations: 7.922 kB / 428.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1015, allocations: 19.98 kB / 428.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.1016, allocations: 23.92 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1017, allocations: 15.97 kB / 428.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.1017, allocations: 11.94 kB / 428.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1018, allocations: 15.92 kB / 428.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1018, allocations: 11.94 kB / 428.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.1018, allocations: 4 kB / 428.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1018, allocations: 0 / 428.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1019, allocations: 19.86 kB / 428.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.102, allocations: 31.83 kB / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.102, allocations: 0 / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.102, allocations: 4 kB / 428.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.102, allocations: 0 / 428.3 MB, free: 3.344 MB / 350.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.0004551/0.1024, allocations: 338.2 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1025, allocations: 12.03 kB / 428.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1025, allocations: 42.75 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.1025, allocations: 8.891 kB / 428.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1028, allocations: 180.3 kB / 428.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1028, allocations: 384 / 428.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1028, allocations: 8.312 kB / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1031, allocations: 115.9 kB / 429 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1031, allocations: 7.938 kB / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1032, allocations: 0 / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1032, allocations: 0 / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1033, allocations: 35.89 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1034, allocations: 153.7 kB / 429.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1036, allocations: 54.48 kB / 429.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.1037, allocations: 28.91 kB / 429.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1037, allocations: 8 kB / 429.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1037, allocations: 30.56 kB / 429.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1037, allocations: 0 / 429.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002707/0.104, allocations: 85.55 kB / 429.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.104, allocations: 55.41 kB / 429.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.1041, allocations: 105.8 kB / 429.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1041, allocations: 29.64 kB / 429.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.1042, allocations: 84.12 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1042, allocations: 8 kB / 429.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1042, allocations: 17.72 kB / 429.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1044, allocations: 318.8 kB / 430 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.1044, allocations: 4 kB / 430 MB, free: 1.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.1044, allocations: 27.44 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.1045, allocations: 39.38 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1045, allocations: 0 / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.97e-05/0.1046, allocations: 61.58 kB / 430.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1046, allocations: 7.938 kB / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1046, allocations: 0 / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1046, allocations: 4.125 kB / 430.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.1047, allocations: 15.92 kB / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1047, allocations: 11.92 kB / 430.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.1047, allocations: 4 kB / 430.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1047, allocations: 4 kB / 430.2 MB, free: 1.215 MB / 350.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.267e-05/0.1048, allocations: 110.2 kB / 430.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.1049, allocations: 65.61 kB / 430.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.105, allocations: 7.906 kB / 430.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.105, allocations: 7.938 kB / 430.4 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.105, allocations: 8 kB / 430.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.105, allocations: 3.984 kB / 430.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1051, allocations: 157.6 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1051, allocations: 0 / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.1051, allocations: 11.98 kB / 430.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1051, allocations: 7.875 kB / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1052, allocations: 0 / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1052, allocations: 0 / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1052, allocations: 0 / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1053, allocations: 89.34 kB / 430.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1054, allocations: 85.09 kB / 430.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1054, allocations: 3.938 kB / 430.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.1054, allocations: 4.047 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-06/0.1054, allocations: 3.984 kB / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1054, allocations: 0 / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.644e-05/0.1055, allocations: 87.27 kB / 430.8 MB, free: 472 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1055, allocations: 0 / 430.8 MB, free: 472 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.1057, allocations: 4 kB / 430.8 MB, free: 468 kB / 350.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.0005919/0.1062, allocations: 0.6514 MB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1064, allocations: 35.91 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1064, allocations: 0 / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.1064, allocations: 0 / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1067, allocations: 28.33 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1077, allocations: 1.173 MB / 432.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.108, allocations: 0.6807 MB / 433.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.551e-05/0.108, allocations: 8 kB / 433.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1081, allocations: 19.36 kB / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1081, allocations: 0 / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.1312, allocations: 1.385 MB / 434.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.757, allocations: 23.34 kB / 434.9 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.236846123822033]