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.001691/0.001691, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00179/0.00179, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.546/1.546, allocations: 230.5 MB / 258.2 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.91 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3963, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002795/0.3991, allocations: 1.495 MB / 433.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.3994, allocations: 95.61 kB / 433.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.3995, allocations: 0 / 433.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.3995, allocations: 7.938 kB / 433.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.3996, allocations: 0 / 433.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3998, allocations: 23.92 kB / 433.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3999, allocations: 35.84 kB / 433.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4, allocations: 11.98 kB / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.4, allocations: 4 kB / 433.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.4001, allocations: 11.94 kB / 433.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.4001, allocations: 0 / 433.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.4001, allocations: 4 kB / 433.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.4001, allocations: 11.92 kB / 433.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.4002, allocations: 11.94 kB / 433.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.4003, allocations: 35.2 kB / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4003, allocations: 0 / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4003, allocations: 0 / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4003, allocations: 4 kB / 433.7 MB, free: 4.945 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.0005022/0.4008, allocations: 255.3 kB / 434 MB, free: 4.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4009, allocations: 12.03 kB / 434 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.412e-05/0.4009, allocations: 8.172 kB / 434 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.4009, allocations: 38.67 kB / 434 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.401, allocations: 12.83 kB / 434 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.4012, allocations: 122.5 kB / 434.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4013, allocations: 8.375 kB / 434.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4013, allocations: 384 / 434.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.4016, allocations: 107.6 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4016, allocations: 0 / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4017, allocations: 0 / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4017, allocations: 4 kB / 434.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.4018, allocations: 15.98 kB / 434.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.4019, allocations: 140.6 kB / 434.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4021, allocations: 46.59 kB / 434.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.4022, allocations: 20.89 kB / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.4022, allocations: 0 / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.4023, allocations: 42.5 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4023, allocations: 4 kB / 434.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002541/0.4025, allocations: 73.59 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4026, allocations: 51.41 kB / 434.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4027, allocations: 109.9 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4027, allocations: 25.7 kB / 434.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.4028, allocations: 88.12 kB / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.4028, allocations: 8 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.4028, allocations: 9.719 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.403, allocations: 318.8 kB / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.403, allocations: 0 / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.4031, allocations: 31.42 kB / 435.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.4031, allocations: 35.38 kB / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4031, allocations: 0 / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.723e-05/0.4032, allocations: 57.62 kB / 435.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4032, allocations: 7.938 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4032, allocations: 7.938 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4032, allocations: 4.125 kB / 435.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.4033, allocations: 4 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4033, allocations: 4 kB / 435.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.4033, allocations: 3.953 kB / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4033, allocations: 7.938 kB / 435.4 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 8.73e-05/0.4034, allocations: 113.8 kB / 435.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4036, allocations: 61.84 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.4036, allocations: 11.94 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4036, allocations: 48 / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4036, allocations: 7.984 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4036, allocations: 0 / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.4037, allocations: 128.7 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4037, allocations: 4 kB / 435.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.4038, allocations: 4 kB / 435.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4038, allocations: 3.938 kB / 435.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4038, allocations: 4 kB / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4038, allocations: 0 / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4038, allocations: 0 / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.4039, allocations: 89.06 kB / 435.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.4039, allocations: 7.875 kB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.404, allocations: 3.984 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.404, allocations: 4 kB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.404, allocations: 0 / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.404, allocations: 256 / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.404, allocations: 91.22 kB / 435.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.404, allocations: 4 kB / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.4042, allocations: 4 kB / 435.9 MB, free: 2.453 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.000453/0.4047, allocations: 0.6202 MB / 436.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.4048, allocations: 27.92 kB / 436.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4048, allocations: 4.25 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.4048, allocations: 0 / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.4051, allocations: 24 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4061, allocations: 1.161 MB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4065, allocations: 0.6807 MB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.307e-05/0.4065, allocations: 0 / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.4065, allocations: 11.44 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4065, allocations: 0 / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.4274, allocations: 1.401 MB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.24, allocations: 2.812 kB / 439.8 MB, free: 14.5 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.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_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: 13.880090264021419]