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.001306/0.001306, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001487/0.001487, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001684/0.001684, allocations: 51.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2767, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002876/0.2796, allocations: 1.491 MB / 432.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.2799, allocations: 99.62 kB / 432.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.2799, allocations: 0 / 432.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.2799, allocations: 3.938 kB / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.28, allocations: 11.92 kB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2802, allocations: 15.98 kB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.2803, allocations: 31.86 kB / 432.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.2804, allocations: 11.98 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.2805, allocations: 7.984 kB / 432.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.2805, allocations: 11.88 kB / 432.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2805, allocations: 4 kB / 432.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-06/0.2805, allocations: 0 / 432.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.2805, allocations: 15.92 kB / 432.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.2806, allocations: 11.94 kB / 432.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.2807, allocations: 27.28 kB / 432.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2807, allocations: 3.938 kB / 432.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2807, allocations: 0 / 432.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2807, allocations: 0 / 432.9 MB, free: 5.078 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.0004201/0.2811, allocations: 267.3 kB / 433.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2811, allocations: 8.031 kB / 433.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.2812, allocations: 38.75 kB / 433.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2812, allocations: 4.891 kB / 433.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2814, allocations: 130.4 kB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2814, allocations: 384 / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2815, allocations: 4.375 kB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.2818, allocations: 99.88 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2818, allocations: 7.938 kB / 433.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.2818, allocations: 0 / 433.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2818, allocations: 4 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.2819, allocations: 15.92 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.282, allocations: 140.7 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.2822, allocations: 42.56 kB / 433.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.2823, allocations: 20.92 kB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2823, allocations: 8 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.2823, allocations: 42.53 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2823, allocations: 0 / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.2826, allocations: 73.55 kB / 433.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.2826, allocations: 51.41 kB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.2827, allocations: 105.9 kB / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2827, allocations: 25.7 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.2828, allocations: 96.12 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.2828, allocations: 0 / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2828, allocations: 13.72 kB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.283, allocations: 314.8 kB / 434.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.283, allocations: 7.984 kB / 434.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.283, allocations: 27.44 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.2831, allocations: 31.38 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2831, allocations: 0 / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.839e-05/0.2832, allocations: 61.56 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2832, allocations: 11.94 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2832, allocations: 384 / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2832, allocations: 7.938 kB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.2833, allocations: 12 kB / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2833, allocations: 0 / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.2833, allocations: 3.953 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2833, allocations: 4 kB / 434.5 MB, free: 3.207 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 9.418e-05/0.2834, allocations: 113.8 kB / 434.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2835, allocations: 61.56 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2835, allocations: 7.938 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2835, allocations: 4 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2835, allocations: 4 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2835, allocations: 3.984 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.2837, allocations: 124.8 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2837, allocations: 0 / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.2837, allocations: 12 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2837, allocations: 3.938 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2837, allocations: 0 / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2837, allocations: 3.984 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2837, allocations: 3.984 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2839, allocations: 85.08 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.2839, allocations: 11.88 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2839, allocations: 7.922 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.2839, allocations: 0 / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.2839, allocations: 0 / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2839, allocations: 4 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.284, allocations: 83.28 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.284, allocations: 4 kB / 435.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000192/0.2842, allocations: 4 kB / 435.1 MB, free: 2.59 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.000496/0.2847, allocations: 0.6245 MB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2848, allocations: 24.11 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2848, allocations: 4.062 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2848, allocations: 0 / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.285, allocations: 16.14 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2861, allocations: 1.162 MB / 436.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2865, allocations: 0.6807 MB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.2865, allocations: 0 / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.2865, allocations: 11.44 kB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2865, allocations: 0 / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.321, allocations: 1.366 MB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.23, allocations: 12 kB / 439 MB, free: 14.68 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.656310729915276]