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.001289/0.001289, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001379/0.001379, allocations: 193 kB / 21.43 MB, free: 1.633 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.378/1.378, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.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.001491/0.001491, allocations: 43.94 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09855, allocations: 52.16 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002736/0.1013, allocations: 1.458 MB / 420 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001842/0.1015, allocations: 31.84 kB / 420 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1015, allocations: 4 kB / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.1016, allocations: 7.875 kB / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1016, allocations: 3.938 kB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1018, allocations: 15.98 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.1019, allocations: 23.92 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.102, allocations: 11.98 kB / 420.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.102, allocations: 15.92 kB / 420.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.1021, allocations: 15.92 kB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1021, allocations: 8 kB / 420.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.1021, allocations: 4 kB / 420.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.1021, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.1022, allocations: 11.94 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.412e-05/0.1023, allocations: 39.75 kB / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1023, allocations: 0 / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1023, allocations: 0 / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1023, allocations: 0 / 420.2 MB, free: 10.93 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.0004478/0.1027, allocations: 347.4 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1028, allocations: 8.031 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.1028, allocations: 4.188 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.1028, allocations: 34.75 kB / 420.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.1028, allocations: 0.9375 kB / 420.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1031, allocations: 184.2 kB / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1031, allocations: 4.375 kB / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1031, allocations: 384 / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.1035, allocations: 135.6 kB / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1035, allocations: 0 / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1035, allocations: 4 kB / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1035, allocations: 0 / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1036, allocations: 23.97 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1038, allocations: 157.7 kB / 421 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1039, allocations: 58.48 kB / 421.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.104, allocations: 32.86 kB / 421.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.104, allocations: 0 / 421.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1041, allocations: 42.44 kB / 421.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1041, allocations: 0 / 421.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000297/0.1043, allocations: 85.55 kB / 421.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1044, allocations: 59.39 kB / 421.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.1045, allocations: 97.86 kB / 421.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1045, allocations: 25.7 kB / 421.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.1046, allocations: 92.14 kB / 421.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1046, allocations: 3.984 kB / 421.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1046, allocations: 17.72 kB / 421.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1047, allocations: 310.8 kB / 421.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.1048, allocations: 4 kB / 421.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.1048, allocations: 31.42 kB / 421.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.1048, allocations: 39.38 kB / 421.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1048, allocations: 0 / 421.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.875e-05/0.1049, allocations: 61.62 kB / 422 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.105, allocations: 10.12 kB / 422 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.105, allocations: 8.125 kB / 422 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.105, allocations: 0 / 422 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.105, allocations: 11.94 kB / 422 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.105, allocations: 0 / 422 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1051, allocations: 11.94 kB / 422 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.1051, allocations: 0 / 422 MB, free: 8.805 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.981e-05/0.1052, allocations: 113.8 kB / 422.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.1053, allocations: 61.61 kB / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.1053, allocations: 11.91 kB / 422.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1053, allocations: 4 kB / 422.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1053, allocations: 0 / 422.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1053, allocations: 3.938 kB / 422.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1055, allocations: 157.7 kB / 422.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1055, allocations: 0 / 422.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1055, allocations: 11.94 kB / 422.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1055, allocations: 4.547 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1055, allocations: 3.984 kB / 422.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1055, allocations: 8 kB / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1055, allocations: 0 / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1057, allocations: 97.05 kB / 422.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1058, allocations: 81.05 kB / 422.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1058, allocations: 4 kB / 422.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.1059, allocations: 7.984 kB / 422.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.1059, allocations: 0 / 422.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1059, allocations: 7.938 kB / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.1059, allocations: 79.28 kB / 422.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 422.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1061, allocations: 12 kB / 422.7 MB, free: 8.039 MB / 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.0006254/0.1067, allocations: 0.6513 MB / 423.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1069, allocations: 31.92 kB / 423.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1069, allocations: 320 / 423.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1069, allocations: 4 kB / 423.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1071, allocations: 31.98 kB / 423.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1083, allocations: 1.177 MB / 424.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1086, allocations: 0.6883 MB / 425.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.1086, allocations: 4 kB / 425.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.1086, allocations: 11.44 kB / 425.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1086, allocations: 3.938 kB / 425.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.1258, allocations: 1.434 MB / 426.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.927, allocations: 12.69 kB / 426.7 MB, free: 3.977 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.267275346966926]