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.001214/0.001214, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001375/0.001375, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.001525/0.001525, allocations: 39.94 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 53.37 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00288/0.2457, allocations: 1.475 MB / 433.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.246, allocations: 95.69 kB / 433.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.246, allocations: 0 / 433.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.2461, allocations: 7.938 kB / 433.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.2461, allocations: 7.922 kB / 433.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.2463, allocations: 23.92 kB / 433.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.2464, allocations: 23.98 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.2465, allocations: 7.984 kB / 433.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.2465, allocations: 11.88 kB / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.2466, allocations: 11.94 kB / 433.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2466, allocations: 4 kB / 433.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-06/0.2466, allocations: 0 / 433.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.2466, allocations: 15.92 kB / 433.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2467, allocations: 7.938 kB / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.2468, allocations: 34 kB / 433.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2468, allocations: 0 / 433.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2468, allocations: 0 / 433.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2468, allocations: 0 / 433.6 MB, free: 4.902 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.000406/0.2472, allocations: 270.2 kB / 433.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2472, allocations: 8.031 kB / 433.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.76e-05/0.2472, allocations: 4.188 kB / 433.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.2473, allocations: 34.75 kB / 433.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2473, allocations: 8.891 kB / 433.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2475, allocations: 122.5 kB / 434 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2475, allocations: 8.359 kB / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.2475, allocations: 384 / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2478, allocations: 107.6 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2478, allocations: 0 / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2478, allocations: 4 kB / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2479, allocations: 0 / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.2479, allocations: 19.98 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.2481, allocations: 128.7 kB / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2482, allocations: 54.58 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.2483, allocations: 20.89 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2483, allocations: 0 / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2483, allocations: 42.44 kB / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2483, allocations: 0 / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.2485, allocations: 69.67 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2486, allocations: 55.41 kB / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.2487, allocations: 113.8 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2487, allocations: 25.7 kB / 434.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.2488, allocations: 88.12 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.2488, allocations: 4 kB / 434.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.2488, allocations: 17.7 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2489, allocations: 314.8 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.2489, allocations: 4 kB / 435.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.249, allocations: 31.36 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.249, allocations: 39.38 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.249, allocations: 0 / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.034e-05/0.2491, allocations: 49.64 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2491, allocations: 11.92 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2491, allocations: 0 / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2492, allocations: 4 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.2492, allocations: 4.125 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2492, allocations: 8 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.2492, allocations: 7.953 kB / 435.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2492, allocations: 4.25 kB / 435.2 MB, free: 3.027 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 8.709e-05/0.2493, allocations: 109.8 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.2494, allocations: 65.61 kB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.2495, allocations: 4.328 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2495, allocations: 3.938 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2495, allocations: 4 kB / 435.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2495, allocations: 3.984 kB / 435.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2496, allocations: 128.8 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2496, allocations: 0 / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.2496, allocations: 8 kB / 435.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2496, allocations: 3.938 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2496, allocations: 3.984 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2496, allocations: 4 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2496, allocations: 0 / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2498, allocations: 85.02 kB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.2498, allocations: 11.86 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2498, allocations: 4 kB / 435.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.2498, allocations: 8 kB / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.2498, allocations: 0 / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.2499, allocations: 7.938 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.2499, allocations: 79.28 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000183/0.2501, allocations: 8 kB / 435.8 MB, free: 2.41 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.0004599/0.2505, allocations: 0.6279 MB / 436.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2507, allocations: 24.05 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2507, allocations: 4 kB / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2507, allocations: 0 / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2509, allocations: 19.97 kB / 436.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.252, allocations: 1.146 MB / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.2521, allocations: 63.34 kB / 437.7 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.485e-05/0.2521, allocations: 192 / 437.7 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.2521, allocations: 27.45 kB / 437.7 MB, free: 360 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2521, allocations: 3.938 kB / 437.7 MB, free: 356 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.2734, allocations: 1.417 MB / 439.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.83, allocations: 12.06 kB / 439.1 MB, free: 15.07 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.195615907083265]