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.001223/0.001223, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001367/0.001367, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 7.766 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.001916/0.001916, allocations: 67.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.333, allocations: 53.4 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002957/0.3359, allocations: 1.468 MB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.3362, allocations: 103.6 kB / 433.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.3363, allocations: 0 / 433.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3363, allocations: 3.938 kB / 433.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.3364, allocations: 7.875 kB / 433.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3366, allocations: 23.97 kB / 433.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.3367, allocations: 27.92 kB / 433.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3368, allocations: 8 kB / 433.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.3369, allocations: 11.94 kB / 433.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.3369, allocations: 11.92 kB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3369, allocations: 4 kB / 433.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3369, allocations: 0 / 433.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.337, allocations: 4 kB / 433.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.337, allocations: 15.92 kB / 433.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3371, allocations: 29.47 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3371, allocations: 0 / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.3371, allocations: 4 kB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3371, allocations: 0 / 433.6 MB, free: 4.734 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.0004454/0.3376, allocations: 270.3 kB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3376, allocations: 12.03 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.3377, allocations: 192 / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.3377, allocations: 30.75 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.3377, allocations: 8.891 kB / 434 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3379, allocations: 118.5 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.338, allocations: 8.375 kB / 434.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.338, allocations: 4.375 kB / 434.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3383, allocations: 115.6 kB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3383, allocations: 0 / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3383, allocations: 0 / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3383, allocations: 7.984 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.3384, allocations: 19.92 kB / 434.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.3386, allocations: 128.7 kB / 434.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3387, allocations: 50.59 kB / 434.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.3388, allocations: 24.89 kB / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3388, allocations: 0 / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3389, allocations: 38.5 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3389, allocations: 0 / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002325/0.3391, allocations: 73.59 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3391, allocations: 51.41 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.3392, allocations: 105.9 kB / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3392, allocations: 25.7 kB / 434.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.3393, allocations: 92.12 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.3393, allocations: 4 kB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3393, allocations: 17.72 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3395, allocations: 310.8 kB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.3395, allocations: 7.984 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.3395, allocations: 31.38 kB / 435.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.3396, allocations: 39.31 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3396, allocations: 0 / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.158e-05/0.3396, allocations: 61.56 kB / 435.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3397, allocations: 7.938 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3397, allocations: 7.984 kB / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3397, allocations: 0 / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.3397, allocations: 4 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3397, allocations: 4 kB / 435.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.3398, allocations: 3.953 kB / 435.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3398, allocations: 4 kB / 435.3 MB, free: 2.855 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.04e-05/0.3399, allocations: 114 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.34, allocations: 65.56 kB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.34, allocations: 8 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.34, allocations: 0 / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.34, allocations: 0 / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.34, allocations: 3.984 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3401, allocations: 124.8 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3401, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.3402, allocations: 7.984 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3402, allocations: 3.938 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3402, allocations: 4.25 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3402, allocations: 8 kB / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3402, allocations: 0 / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3404, allocations: 93.31 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.3404, allocations: 11.88 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3404, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.3404, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.3404, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3404, allocations: 4 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.3405, allocations: 87.27 kB / 435.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 0 / 435.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3407, allocations: 8 kB / 435.8 MB, free: 2.238 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.0004801/0.3412, allocations: 0.6241 MB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3413, allocations: 19.92 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3413, allocations: 4 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3413, allocations: 0 / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3415, allocations: 34.84 kB / 436.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3426, allocations: 1.147 MB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.3427, allocations: 71.27 kB / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.3427, allocations: 0 / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3427, allocations: 15.44 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3427, allocations: 0 / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3641, allocations: 1.415 MB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.11, allocations: 4.062 kB / 439.2 MB, free: 14.88 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.707687219954096]