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.001437/0.001437, allocations: 116.5 kB / 20.43 MB, free: 1.305 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.001496/0.001496, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.429/1.429, 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.001927/0.001927, allocations: 63.89 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2533, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002837/0.2561, allocations: 1.487 MB / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.2564, allocations: 107.6 kB / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.2565, allocations: 0 / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2565, allocations: 3.938 kB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.2566, allocations: 3.938 kB / 432.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2568, allocations: 19.92 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.2569, allocations: 35.84 kB / 432.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.257, allocations: 8 kB / 432.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.257, allocations: 4 kB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.2571, allocations: 15.92 kB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2571, allocations: 4 kB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.2571, allocations: 7.938 kB / 432.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2571, allocations: 4 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2572, allocations: 11.94 kB / 432.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.084e-05/0.2573, allocations: 28.81 kB / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2573, allocations: 3.938 kB / 432.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2573, allocations: 0 / 432.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2573, allocations: 4 kB / 432.9 MB, free: 4.922 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.0004078/0.2577, allocations: 273.7 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2577, allocations: 8.031 kB / 433.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.2578, allocations: 34.75 kB / 433.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.2578, allocations: 4.891 kB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.258, allocations: 122.5 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.258, allocations: 384 / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.258, allocations: 4.375 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.2583, allocations: 115.8 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2583, allocations: 3.938 kB / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.2583, allocations: 0 / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2583, allocations: 3.938 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.2584, allocations: 15.98 kB / 433.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.2586, allocations: 136.7 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.2587, allocations: 50.55 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.2588, allocations: 20.92 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2588, allocations: 4 kB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2588, allocations: 34.56 kB / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2588, allocations: 0 / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002439/0.2591, allocations: 77.55 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2591, allocations: 51.41 kB / 433.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.2592, allocations: 109.8 kB / 434 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2592, allocations: 25.7 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.2592, allocations: 88.14 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.2593, allocations: 0 / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.2593, allocations: 13.72 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2594, allocations: 318.8 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.2594, allocations: 8 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.2595, allocations: 27.44 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.2595, allocations: 31.36 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2595, allocations: 4 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.113e-05/0.2596, allocations: 57.58 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2596, allocations: 11.94 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2596, allocations: 3.984 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2596, allocations: 0 / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.2597, allocations: 8.281 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2597, allocations: 0 / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2597, allocations: 7.891 kB / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.2597, allocations: 4.125 kB / 434.6 MB, free: 3.055 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.319e-05/0.2598, allocations: 113.8 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2599, allocations: 73.47 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2599, allocations: 4 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2599, allocations: 4 kB / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2599, allocations: 0 / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2599, allocations: 0 / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.26, allocations: 124.8 kB / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.26, allocations: 0 / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.2601, allocations: 19.98 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2601, allocations: 3.938 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2601, allocations: 0 / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2601, allocations: 0 / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2601, allocations: 0 / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2603, allocations: 89 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.2603, allocations: 8.188 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2603, allocations: 3.938 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.2603, allocations: 8 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-06/0.2603, allocations: 0 / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2603, allocations: 4 kB / 435 MB, free: 2.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.2604, allocations: 87.27 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2604, allocations: 0 / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.2606, allocations: 4 kB / 435.1 MB, free: 2.434 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.0004693/0.261, allocations: 0.6202 MB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2611, allocations: 27.92 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2611, allocations: 0 / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2611, allocations: 0 / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.2614, allocations: 27.91 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2624, allocations: 1.147 MB / 436.9 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.2628, allocations: 0.6846 MB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.351e-05/0.2628, allocations: 3.938 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.2628, allocations: 15.44 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2628, allocations: 3.938 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.2907, allocations: 1.366 MB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.95, allocations: 10.92 kB / 439 MB, free: 14.49 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.305790133075789]