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.001311/0.001311, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001438/0.001438, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001544/0.001544, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00281/0.2876, allocations: 1.488 MB / 432.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.2879, allocations: 91.69 kB / 432.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.288, allocations: 4 kB / 432.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.288, allocations: 7.922 kB / 432.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.288, allocations: 3.938 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.2883, allocations: 23.92 kB / 432.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.2884, allocations: 23.94 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2885, allocations: 11.97 kB / 432.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.2885, allocations: 11.94 kB / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.2886, allocations: 15.92 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2886, allocations: 0 / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.2886, allocations: 4 kB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.2886, allocations: 0 / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.2887, allocations: 15.88 kB / 432.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.995e-05/0.2888, allocations: 33.52 kB / 432.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2888, allocations: 0 / 432.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2888, allocations: 4 kB / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2888, allocations: 0 / 432.8 MB, free: 4.922 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.000416/0.2892, allocations: 270.3 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2892, allocations: 8.031 kB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.2893, allocations: 30.75 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.2893, allocations: 8.891 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2895, allocations: 122.5 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2895, allocations: 4.375 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2895, allocations: 4.375 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.2898, allocations: 107.8 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2899, allocations: 3.938 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2899, allocations: 4 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2899, allocations: 0 / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.29, allocations: 19.97 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2901, allocations: 124.7 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2903, allocations: 58.55 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.2903, allocations: 20.92 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2903, allocations: 4 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2904, allocations: 34.5 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2904, allocations: 0 / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.2906, allocations: 69.61 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.2907, allocations: 55.41 kB / 433.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.2907, allocations: 109.8 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2908, allocations: 25.7 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.2908, allocations: 88.14 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.2908, allocations: 3.984 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2908, allocations: 17.72 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.291, allocations: 310.8 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.291, allocations: 4 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.291, allocations: 35.55 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.2911, allocations: 35.38 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2911, allocations: 4 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.052e-05/0.2912, allocations: 57.56 kB / 434.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2912, allocations: 11.94 kB / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2912, allocations: 0 / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2912, allocations: 96 / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.2912, allocations: 11.98 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2913, allocations: 0 / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.2913, allocations: 3.953 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.2913, allocations: 7.938 kB / 434.5 MB, free: 3.055 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.595e-05/0.2914, allocations: 121.9 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2915, allocations: 57.61 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.2915, allocations: 8 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2915, allocations: 0 / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2915, allocations: 4 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2915, allocations: 0 / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.2916, allocations: 124.8 kB / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2916, allocations: 0 / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.2917, allocations: 11.98 kB / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2917, allocations: 4.188 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.2917, allocations: 4 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2917, allocations: 4 kB / 434.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2917, allocations: 0 / 434.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.2918, allocations: 89 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.2918, allocations: 7.938 kB / 434.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2918, allocations: 3.938 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.2919, allocations: 0 / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-06/0.2919, allocations: 4 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2919, allocations: 0 / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.2919, allocations: 87.27 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2919, allocations: 4 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.2921, allocations: 4 kB / 435 MB, free: 2.441 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.0004538/0.2926, allocations: 0.6279 MB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.2927, allocations: 19.98 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2927, allocations: 0 / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2927, allocations: 0 / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.2929, allocations: 28.17 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2939, allocations: 1.15 MB / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.001e-05/0.294, allocations: 63.34 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.551e-05/0.294, allocations: 3.984 kB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.294, allocations: 19.38 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.294, allocations: 0 / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3219, allocations: 1.78 MB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11, allocations: 4 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 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.csv","/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.423194667993812]