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.001255/0.001255, allocations: 124.8 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.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.001284/0.001284, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.404/1.404, allocations: 225.6 MB / 249.1 MB, free: 3.621 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002523/0.1058, allocations: 1.464 MB / 419.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.106, allocations: 27.86 kB / 419.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.106, allocations: 4 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.1061, allocations: 3.938 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1061, allocations: 11.92 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1064, allocations: 27.05 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.651e-05/0.1065, allocations: 19.98 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1066, allocations: 15.97 kB / 419.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.1067, allocations: 15.88 kB / 419.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.1067, allocations: 11.92 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1067, allocations: 4 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.1067, allocations: 4 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1068, allocations: 4 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1068, allocations: 15.92 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1069, allocations: 39.77 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1069, allocations: 0 / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1069, allocations: 4 kB / 419.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1069, allocations: 0 / 419.5 MB, free: 10.95 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.0005725/0.1075, allocations: 339.4 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1076, allocations: 12.03 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1076, allocations: 34.75 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1076, allocations: 4.938 kB / 419.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1079, allocations: 176.3 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.108, allocations: 8.375 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.108, allocations: 4.375 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.1085, allocations: 123.8 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1085, allocations: 3.938 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1085, allocations: 0 / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1085, allocations: 3.984 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1087, allocations: 27.97 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1089, allocations: 157.7 kB / 420.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.1091, allocations: 50.55 kB / 420.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1092, allocations: 28.86 kB / 420.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1093, allocations: 7.984 kB / 420.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1093, allocations: 30.56 kB / 420.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1093, allocations: 0 / 420.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004079/0.1097, allocations: 93.48 kB / 420.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.1098, allocations: 51.41 kB / 420.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1099, allocations: 105.8 kB / 420.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1099, allocations: 29.7 kB / 420.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.11, allocations: 84.12 kB / 420.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.11, allocations: 4 kB / 420.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.11, allocations: 21.66 kB / 420.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1102, allocations: 322.8 kB / 421.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.1102, allocations: 8 kB / 421.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.1103, allocations: 27.44 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.1103, allocations: 35.38 kB / 421.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1103, allocations: 4 kB / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.1105, allocations: 57.62 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1105, allocations: 7.938 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1105, allocations: 0 / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1105, allocations: 4.375 kB / 421.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.1106, allocations: 7.984 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1106, allocations: 4 kB / 421.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1107, allocations: 11.95 kB / 421.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1107, allocations: 12.06 kB / 421.3 MB, free: 8.824 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 0.0001124/0.1108, allocations: 109.8 kB / 421.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.111, allocations: 65.61 kB / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.111, allocations: 3.906 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.111, allocations: 0 / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.111, allocations: 4 kB / 421.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.111, allocations: 0 / 421.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1112, allocations: 157.7 kB / 421.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1112, allocations: 0 / 421.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.1112, allocations: 19.98 kB / 421.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1112, allocations: 3.938 kB / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1112, allocations: 3.938 kB / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1112, allocations: 0 / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1112, allocations: 3.938 kB / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.1114, allocations: 89.3 kB / 421.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1115, allocations: 89.12 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1115, allocations: 3.938 kB / 421.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.1115, allocations: 8 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-06/0.1115, allocations: 0 / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1116, allocations: 0 / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.1116, allocations: 87.27 kB / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1116, allocations: 0 / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1119, allocations: 4 kB / 422 MB, free: 8.074 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.000762/0.1127, allocations: 0.6591 MB / 422.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1129, allocations: 31.91 kB / 422.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1129, allocations: 0 / 422.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.1129, allocations: 0 / 422.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1132, allocations: 31.94 kB / 422.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1146, allocations: 1.178 MB / 423.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1149, allocations: 0.6844 MB / 424.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.1149, allocations: 0 / 424.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.115, allocations: 15.42 kB / 424.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.115, allocations: 0 / 424.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0937/0.2087, allocations: 1.395 MB / 426 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.252, allocations: 12.45 kB / 426 MB, free: 4.031 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.772968654986471]