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.00199/0.00199, 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.001856/0.001856, allocations: 213.5 kB / 23.72 MB, free: 4.531 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.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001489/0.001489, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002672/0.2744, allocations: 1.476 MB / 432.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.2747, allocations: 99.61 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.2748, allocations: 4 kB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.2748, allocations: 3.938 kB / 432.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.2748, allocations: 3.938 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2751, allocations: 23.98 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.2751, allocations: 23.92 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.2752, allocations: 7.984 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.2753, allocations: 11.94 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.2753, allocations: 15.92 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2753, allocations: 0 / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.2753, allocations: 4 kB / 432.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2753, allocations: 3.938 kB / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.2754, allocations: 11.94 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.726e-05/0.2755, allocations: 29.58 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2755, allocations: 0 / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2755, allocations: 4 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2755, allocations: 0 / 432.8 MB, free: 4.91 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.0003994/0.2759, allocations: 274.2 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2759, allocations: 8.031 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2759, allocations: 30.75 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.276, allocations: 8.891 kB / 433.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.2762, allocations: 122.4 kB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-06/0.2762, allocations: 4.375 kB / 433.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2762, allocations: 384 / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.2765, allocations: 107.9 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2765, allocations: 7.922 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2765, allocations: 7.984 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2765, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.2766, allocations: 19.92 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.2768, allocations: 124.7 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.2769, allocations: 54.55 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.277, allocations: 20.92 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.277, allocations: 4 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.277, allocations: 34.56 kB / 433.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.277, allocations: 0 / 433.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.2772, allocations: 73.55 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.2773, allocations: 59.39 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.2774, allocations: 105.9 kB / 433.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2774, allocations: 29.7 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.2774, allocations: 84.14 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.2774, allocations: 3.984 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.2775, allocations: 17.66 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2776, allocations: 314.8 kB / 434.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.2776, allocations: 4 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.2777, allocations: 31.42 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.2777, allocations: 31.38 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2777, allocations: 4.25 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.923e-05/0.2778, allocations: 61.56 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2778, allocations: 11.94 kB / 434.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2778, allocations: 4 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2778, allocations: 0 / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.2779, allocations: 8 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2779, allocations: 0 / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.2779, allocations: 3.953 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2779, allocations: 4.125 kB / 434.5 MB, free: 3.039 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.872e-05/0.278, allocations: 117.8 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2781, allocations: 61.55 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.2781, allocations: 8 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2781, allocations: 0 / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2781, allocations: 4 kB / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2781, allocations: 0 / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.2782, allocations: 120.8 kB / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2782, allocations: 336 / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.2783, allocations: 15.92 kB / 434.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2783, allocations: 7.938 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2783, allocations: 4 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2783, allocations: 0 / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2783, allocations: 0 / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2784, allocations: 89.05 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.2784, allocations: 7.938 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2785, allocations: 3.938 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.2785, allocations: 0 / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-06/0.2785, allocations: 7.938 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2785, allocations: 0 / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.2785, allocations: 91.27 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2785, allocations: 0 / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.2787, allocations: 4 kB / 435 MB, free: 2.422 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.0004322/0.2791, allocations: 0.624 MB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.2793, allocations: 27.92 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2793, allocations: 0 / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2793, allocations: 0 / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.2795, allocations: 26.98 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2805, allocations: 1.15 MB / 436.8 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.2806, allocations: 63.34 kB / 436.9 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.439e-05/0.2806, allocations: 3.984 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.2807, allocations: 15.44 kB / 436.9 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2807, allocations: 0 / 436.9 MB, free: 376 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3074, allocations: 1.772 MB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.61, allocations: 9.969 kB / 438.7 MB, free: 14.72 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: 12.920478874992114]