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.001836/0.001836, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002124/0.002124, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.477/1.477, allocations: 230.6 MB / 257.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2744, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002782/0.2772, allocations: 1.483 MB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.2775, allocations: 95.62 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.2776, allocations: 4 kB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.2776, allocations: 7.938 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.2776, allocations: 3.938 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2778, allocations: 23.97 kB / 432.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.2779, allocations: 19.92 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.278, allocations: 8 kB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.278, allocations: 15.92 kB / 432.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.2781, allocations: 11.92 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.2781, allocations: 0 / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.2781, allocations: 4 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.2781, allocations: 4 kB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2782, allocations: 7.938 kB / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.2782, allocations: 41.47 kB / 432.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2782, allocations: 0 / 432.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2782, allocations: 0 / 432.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2782, allocations: 0 / 432.8 MB, free: 4.883 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.0003828/0.2786, allocations: 270.3 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2787, allocations: 8.031 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.2787, allocations: 34.75 kB / 433.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2787, allocations: 8.891 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2789, allocations: 114.5 kB / 433.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2789, allocations: 12.38 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.2789, allocations: 384 / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2792, allocations: 103.9 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2792, allocations: 3.938 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2792, allocations: 4 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2793, allocations: 0 / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.2793, allocations: 23.86 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.2795, allocations: 132.7 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.2796, allocations: 50.56 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.2797, allocations: 24.91 kB / 433.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2797, allocations: 4 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2797, allocations: 30.56 kB / 433.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2797, allocations: 0 / 433.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.2799, allocations: 77.53 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.28, allocations: 59.41 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.2801, allocations: 105.9 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2801, allocations: 29.7 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.2801, allocations: 84.12 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.2801, allocations: 0 / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.2802, allocations: 17.72 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2803, allocations: 310.8 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.2803, allocations: 8 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.2803, allocations: 27.42 kB / 434.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.2804, allocations: 39.38 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2804, allocations: 256 / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.001e-05/0.2805, allocations: 57.56 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2805, allocations: 15.88 kB / 434.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2805, allocations: 4 kB / 434.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2805, allocations: 0 / 434.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.2806, allocations: 8 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2806, allocations: 0 / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.2806, allocations: 8.078 kB / 434.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2806, allocations: 4 kB / 434.5 MB, free: 3.012 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.692e-05/0.2807, allocations: 117.8 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2808, allocations: 57.56 kB / 434.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.2808, allocations: 8 kB / 434.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2808, allocations: 0 / 434.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2808, allocations: 4 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2808, allocations: 0 / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2809, allocations: 124.8 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2809, allocations: 4 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.281, allocations: 11.98 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.281, allocations: 3.938 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.281, allocations: 0 / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.281, allocations: 0 / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.281, allocations: 0 / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2811, allocations: 89 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.2811, allocations: 7.938 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2811, allocations: 7.875 kB / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.2812, allocations: 0 / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.2812, allocations: 8 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2812, allocations: 0 / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.2812, allocations: 87.27 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2812, allocations: 0 / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001787/0.2814, allocations: 4 kB / 435 MB, free: 2.402 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.0004691/0.2819, allocations: 0.6271 MB / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.282, allocations: 27.97 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.282, allocations: 256 / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.282, allocations: 4 kB / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2822, allocations: 23.97 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2832, allocations: 1.15 MB / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.2833, allocations: 67.33 kB / 436.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.141e-05/0.2833, allocations: 0 / 436.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.2833, allocations: 11.44 kB / 436.9 MB, free: 356 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2833, allocations: 0 / 436.9 MB, free: 356 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3113, allocations: 1.745 MB / 438.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.94, allocations: 6.812 kB / 438.7 MB, free: 14.73 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.330692674964666]