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.001605/0.001605, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001699/0.001699, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001581/0.001581, allocations: 51.91 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2866, allocations: 53.36 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002713/0.2893, allocations: 1.487 MB / 432.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.2896, allocations: 99.62 kB / 432.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.2896, allocations: 3.938 kB / 432.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.2897, allocations: 3.938 kB / 432.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.2897, allocations: 7.922 kB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2899, allocations: 16 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.211e-05/0.29, allocations: 27.92 kB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.2901, allocations: 11.97 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.2901, allocations: 11.94 kB / 432.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.2902, allocations: 7.938 kB / 432.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2902, allocations: 4 kB / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2902, allocations: 0 / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2902, allocations: 15.92 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2903, allocations: 7.938 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.452e-05/0.2904, allocations: 33.52 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2904, allocations: 0 / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2904, allocations: 0 / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2904, allocations: 4 kB / 432.8 MB, free: 4.934 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.0004023/0.2908, allocations: 262.3 kB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2908, allocations: 8.031 kB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.2908, allocations: 42.75 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.2909, allocations: 4.891 kB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2911, allocations: 118.5 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2911, allocations: 4.375 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2911, allocations: 4.375 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.2914, allocations: 99.88 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2914, allocations: 11.88 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2914, allocations: 0 / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2914, allocations: 0 / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.2915, allocations: 19.98 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2916, allocations: 128.7 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2918, allocations: 50.55 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.2918, allocations: 24.92 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2919, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2919, allocations: 34.56 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2919, allocations: 3.938 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.2921, allocations: 73.61 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2922, allocations: 55.59 kB / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.2922, allocations: 109.8 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2922, allocations: 25.7 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.2923, allocations: 80.14 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.2923, allocations: 4 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.2923, allocations: 17.7 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2925, allocations: 314.8 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.2925, allocations: 11.94 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.2925, allocations: 35.36 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.2926, allocations: 31.42 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2926, allocations: 4 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.131e-05/0.2926, allocations: 53.58 kB / 434.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2927, allocations: 16.05 kB / 434.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2927, allocations: 3.938 kB / 434.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2927, allocations: 4 kB / 434.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.2927, allocations: 4 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2927, allocations: 256 / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.2928, allocations: 7.953 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2928, allocations: 4 kB / 434.5 MB, free: 3.07 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.87e-05/0.2928, allocations: 113.8 kB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.293, allocations: 65.55 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.293, allocations: 8 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.293, allocations: 4 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.293, allocations: 0 / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.293, allocations: 0 / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.5e-05/0.2931, allocations: 124.8 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2931, allocations: 0 / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.2931, allocations: 8 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2931, allocations: 3.938 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2931, allocations: 0 / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2931, allocations: 3.984 kB / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2932, allocations: 0 / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2933, allocations: 93.02 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.2933, allocations: 7.922 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2933, allocations: 3.938 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.2933, allocations: 8 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-06/0.2933, allocations: 0 / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2933, allocations: 0 / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.471e-05/0.2934, allocations: 83.28 kB / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.2936, allocations: 0 / 435 MB, free: 2.469 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.0004742/0.294, allocations: 0.6358 MB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2942, allocations: 23.92 kB / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2942, allocations: 0 / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.2942, allocations: 0 / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2944, allocations: 19.94 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.2954, allocations: 1.158 MB / 436.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.2954, allocations: 71.59 kB / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.147e-05/0.2954, allocations: 0 / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.2955, allocations: 7.438 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2955, allocations: 0 / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3228, allocations: 1.754 MB / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.35, allocations: 13.42 kB / 438.7 MB, free: 14.78 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.989475114736706]