Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001274/0.001274, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00136/0.00136, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.95 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2262, allocations: 53.36 MB / 431.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002526/0.2287, allocations: 1.491 MB / 433.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.229, allocations: 107.7 kB / 433.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.2291, allocations: 3.938 kB / 433.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.2291, allocations: 0 / 433.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.2291, allocations: 3.938 kB / 433.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2293, allocations: 19.92 kB / 433.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.2294, allocations: 31.86 kB / 433.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.2295, allocations: 7.984 kB / 433.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.2295, allocations: 7.938 kB / 433.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.2296, allocations: 15.92 kB / 433.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2296, allocations: 4 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.2296, allocations: 4 kB / 433.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.2296, allocations: 8 kB / 433.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2296, allocations: 7.938 kB / 433.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.861e-05/0.2297, allocations: 33.94 kB / 433.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2297, allocations: 3.938 kB / 433.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2297, allocations: 0 / 433.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2297, allocations: 0 / 433.7 MB, free: 5.242 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.0003799/0.2301, allocations: 270.3 kB / 433.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2302, allocations: 8.031 kB / 434 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/0.2302, allocations: 4.188 kB / 434 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2302, allocations: 34.75 kB / 434 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.2302, allocations: 4.891 kB / 434 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2304, allocations: 126.4 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.2304, allocations: 384 / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2304, allocations: 4.375 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2307, allocations: 111.6 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2307, allocations: 3.984 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2307, allocations: 0 / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2307, allocations: 0 / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.2308, allocations: 19.98 kB / 434.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.231, allocations: 128.7 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2311, allocations: 62.47 kB / 434.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.2312, allocations: 20.92 kB / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2312, allocations: 4 kB / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2312, allocations: 34.5 kB / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2312, allocations: 0 / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001991/0.2314, allocations: 65.67 kB / 434.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2314, allocations: 59.34 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.2315, allocations: 109.8 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2315, allocations: 25.7 kB / 434.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.2316, allocations: 88.14 kB / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.2316, allocations: 0 / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2316, allocations: 17.72 kB / 434.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2318, allocations: 314.8 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.2318, allocations: 4 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2318, allocations: 31.44 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.2318, allocations: 31.38 kB / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2319, allocations: 256 / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.777e-05/0.2319, allocations: 57.62 kB / 435.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2319, allocations: 15.88 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.232, allocations: 4 kB / 435.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.232, allocations: 0 / 435.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.232, allocations: 15.92 kB / 435.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.232, allocations: 0 / 435.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.232, allocations: 7.953 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.232, allocations: 0 / 435.3 MB, free: 3.367 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.7e-05/0.2321, allocations: 121.9 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2322, allocations: 53.62 kB / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.2323, allocations: 11.98 kB / 435.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2323, allocations: 4 kB / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2323, allocations: 0 / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2323, allocations: 0 / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.2324, allocations: 124.8 kB / 435.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2324, allocations: 0 / 435.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.2324, allocations: 15.92 kB / 435.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2324, allocations: 7.938 kB / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2324, allocations: 0 / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2324, allocations: 0 / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2324, allocations: 0 / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2326, allocations: 85.06 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.2326, allocations: 11.88 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.2326, allocations: 0 / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.2326, allocations: 384 / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.2326, allocations: 4 kB / 435.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2326, allocations: 4 kB / 435.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.2327, allocations: 87.27 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2327, allocations: 0 / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001747/0.2328, allocations: 4 kB / 435.9 MB, free: 2.758 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004402/0.2333, allocations: 0.6375 MB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.2334, allocations: 23.92 kB / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2334, allocations: 0 / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.2334, allocations: 0 / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.2336, allocations: 19.98 kB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2346, allocations: 1.154 MB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2349, allocations: 0.6884 MB / 438.4 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.2349, allocations: 3.984 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.2349, allocations: 11.44 kB / 438.4 MB, free: 68 kB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2349, allocations: 0 / 438.4 MB, free: 68 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2567, allocations: 1.392 MB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.66, allocations: 17.84 kB / 439.8 MB, free: 14.81 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.053092936985195]