Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001692/0.001692, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 53.4 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002757/0.2955, allocations: 1.491 MB / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.2958, allocations: 103.7 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.2959, allocations: 3.938 kB / 432.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.2959, allocations: 0 / 432.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.296, allocations: 3.938 kB / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2963, allocations: 19.92 kB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.2964, allocations: 35.84 kB / 432.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.2965, allocations: 12 kB / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.2965, allocations: 11.98 kB / 432.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.2965, allocations: 7.938 kB / 432.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2965, allocations: 0 / 432.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.2966, allocations: 4 kB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2966, allocations: 7.938 kB / 432.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.2966, allocations: 15.92 kB / 432.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.2967, allocations: 27.27 kB / 432.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2967, allocations: 4 kB / 432.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2967, allocations: 0 / 432.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2967, allocations: 4 kB / 432.9 MB, free: 4.93 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.0004472/0.2972, allocations: 263.3 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2972, allocations: 12.03 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.2973, allocations: 34.73 kB / 433.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.2973, allocations: 8.828 kB / 433.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2975, allocations: 126.4 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-06/0.2975, allocations: 384 / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2975, allocations: 4.375 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2978, allocations: 111.9 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2978, allocations: 3.938 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.2979, allocations: 0 / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2979, allocations: 0 / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.2979, allocations: 19.98 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2981, allocations: 132.7 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2983, allocations: 54.48 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.2983, allocations: 24.92 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2983, allocations: 0 / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2984, allocations: 30.56 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2984, allocations: 4 kB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.2986, allocations: 69.61 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2987, allocations: 55.41 kB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.2987, allocations: 109.8 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2988, allocations: 29.7 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.2988, allocations: 88.12 kB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.2988, allocations: 3.984 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2989, allocations: 17.72 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.299, allocations: 314.8 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.299, allocations: 4 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.299, allocations: 35.59 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.2991, allocations: 35.38 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2991, allocations: 0 / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.569e-05/0.2992, allocations: 53.62 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2992, allocations: 14.44 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2992, allocations: 0 / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2992, allocations: 0 / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.2992, allocations: 8 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2993, allocations: 3.938 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.2993, allocations: 12.08 kB / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.2993, allocations: 0 / 434.6 MB, free: 3.059 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.716e-05/0.2994, allocations: 113.8 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2995, allocations: 61.55 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.2995, allocations: 8 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2995, allocations: 4 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2995, allocations: 3.938 kB / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2995, allocations: 0 / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2996, allocations: 132.7 kB / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2996, allocations: 0 / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.2997, allocations: 8.25 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2997, allocations: 3.938 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2997, allocations: 7.938 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2997, allocations: 0 / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2997, allocations: 0 / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2998, allocations: 85.06 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.2999, allocations: 11.94 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2999, allocations: 3.938 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.2999, allocations: 3.984 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.2999, allocations: 4 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2999, allocations: 0 / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.2999, allocations: 83.28 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2999, allocations: 0 / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.3001, allocations: 4 kB / 435.1 MB, free: 2.445 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.0004679/0.3006, allocations: 0.6319 MB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.3007, allocations: 23.92 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3007, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3007, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.3009, allocations: 26.98 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.302, allocations: 1.147 MB / 436.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3023, allocations: 0.6846 MB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.3024, allocations: 4 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.3024, allocations: 7.438 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3024, allocations: 96 / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3316, allocations: 1.364 MB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.5, allocations: 19.42 kB / 439 MB, free: 14.5 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.187043008001638]