Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09911, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00277/0.1019, allocations: 1.481 MB / 427.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.1021, allocations: 31.84 kB / 427.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.1021, allocations: 8 kB / 427.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1021, allocations: 3.938 kB / 427.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.1022, allocations: 3.938 kB / 427.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1024, allocations: 15.98 kB / 427.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.1025, allocations: 31.91 kB / 427.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1026, allocations: 7.984 kB / 427.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1026, allocations: 15.94 kB / 427.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.1027, allocations: 11.92 kB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1027, allocations: 4 kB / 427.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.1027, allocations: 4 kB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.1027, allocations: 4 kB / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1028, allocations: 23.86 kB / 428 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.1029, allocations: 31.83 kB / 428 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1029, allocations: 0 / 428 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1029, allocations: 0 / 428 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1029, allocations: 0 / 428 MB, free: 3.121 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.0004634/0.1033, allocations: 343.5 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1034, allocations: 8.031 kB / 428.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.1034, allocations: 30.75 kB / 428.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1034, allocations: 8.891 kB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1037, allocations: 184.3 kB / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1037, allocations: 4.375 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1037, allocations: 4.312 kB / 428.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1041, allocations: 123.8 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1041, allocations: 3.938 kB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1041, allocations: 0 / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1041, allocations: 0 / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1042, allocations: 31.97 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1044, allocations: 161.6 kB / 428.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1046, allocations: 58.56 kB / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.1047, allocations: 28.78 kB / 429 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1047, allocations: 0 / 429 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1047, allocations: 30.56 kB / 429 MB, free: 1.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1047, allocations: 4 kB / 429 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000287/0.105, allocations: 85.55 kB / 429.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.1051, allocations: 55.41 kB / 429.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.1051, allocations: 105.8 kB / 429.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1052, allocations: 29.64 kB / 429.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1052, allocations: 88.14 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.1052, allocations: 0 / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1053, allocations: 13.72 kB / 429.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1054, allocations: 322.8 kB / 429.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1054, allocations: 4 kB / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.1054, allocations: 31.69 kB / 429.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.284e-05/0.1055, allocations: 39.38 kB / 429.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1055, allocations: 0 / 429.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.1056, allocations: 65.58 kB / 429.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1056, allocations: 7.938 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1056, allocations: 4 kB / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1056, allocations: 192 / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.1057, allocations: 11.98 kB / 429.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1057, allocations: 3.938 kB / 429.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1057, allocations: 4.125 kB / 429.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.1057, allocations: 4 kB / 429.9 MB, free: 0.9961 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.836e-05/0.1058, allocations: 117.8 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.106, allocations: 61.61 kB / 430 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.106, allocations: 7.906 kB / 430 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.106, allocations: 4 kB / 430 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.106, allocations: 7.922 kB / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.106, allocations: 0 / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1061, allocations: 157.6 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1061, allocations: 4 kB / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.1062, allocations: 11.98 kB / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1062, allocations: 7.875 kB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1062, allocations: 0 / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1062, allocations: 0 / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1062, allocations: 0 / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1064, allocations: 89.11 kB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.1065, allocations: 81.09 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1065, allocations: 7.938 kB / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1065, allocations: 8 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.1065, allocations: 0 / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1065, allocations: 3.938 kB / 430.4 MB, free: 332 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.1066, allocations: 87.39 kB / 430.5 MB, free: 244 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1066, allocations: 4 kB / 430.5 MB, free: 240 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.1068, allocations: 8 kB / 430.5 MB, free: 232 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.0006205/0.1074, allocations: 0.6475 MB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1075, allocations: 31.91 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1075, allocations: 0 / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.1075, allocations: 0 / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1078, allocations: 26.17 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1089, allocations: 1.186 MB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1092, allocations: 0.6807 MB / 433.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1092, allocations: 0 / 433.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1093, allocations: 23.36 kB / 433.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1093, allocations: 0 / 433.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1321, allocations: 1.371 MB / 434.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.767, allocations: 14.81 kB / 434.5 MB, free: 12.21 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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.193081771954894]