Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001268/0.001268, 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.001429/0.001429, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 59.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.354, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003218/0.3573, allocations: 1.444 MB / 433.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.3576, allocations: 95.64 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.3577, allocations: 0 / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.3577, allocations: 3.938 kB / 433.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.3578, allocations: 15.91 kB / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3581, allocations: 8 kB / 433.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3582, allocations: 31.86 kB / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3583, allocations: 15.97 kB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.3584, allocations: 11.94 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.3584, allocations: 7.938 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3584, allocations: 0 / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3584, allocations: 4 kB / 433.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.3585, allocations: 11.98 kB / 433.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.3585, allocations: 7.938 kB / 433.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3586, allocations: 37.94 kB / 433.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3586, allocations: 0 / 433.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3586, allocations: 0 / 433.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3586, allocations: 0 / 433.6 MB, free: 4.758 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.0004824/0.3591, allocations: 266.2 kB / 433.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3592, allocations: 12.03 kB / 433.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.499e-05/0.3592, allocations: 192 / 433.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3592, allocations: 42.75 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.3592, allocations: 8.891 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3595, allocations: 122.5 kB / 434 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3595, allocations: 384 / 434 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3595, allocations: 4.375 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.3599, allocations: 103.6 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3599, allocations: 7.875 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3599, allocations: 4 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3599, allocations: 4 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.36, allocations: 11.98 kB / 434.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.3602, allocations: 136.7 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3604, allocations: 50.55 kB / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.3604, allocations: 24.92 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3605, allocations: 0 / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3605, allocations: 34.5 kB / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3605, allocations: 3.938 kB / 434.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002465/0.3607, allocations: 69.67 kB / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3608, allocations: 59.41 kB / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3609, allocations: 109.8 kB / 434.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3609, allocations: 25.7 kB / 434.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.361, allocations: 80.14 kB / 434.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-06/0.361, allocations: 4 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.361, allocations: 17.7 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3612, allocations: 318.8 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3612, allocations: 0 / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.3613, allocations: 43.36 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.3614, allocations: 23.44 kB / 435.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3614, allocations: 4 kB / 435.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.3615, allocations: 61.52 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3615, allocations: 11.94 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3615, allocations: 0 / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3615, allocations: 4.125 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.3616, allocations: 8 kB / 435.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3616, allocations: 3.984 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.3616, allocations: 4 kB / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3616, allocations: 0 / 435.3 MB, free: 2.883 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 0.0001081/0.3617, allocations: 113.8 kB / 435.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3618, allocations: 61.55 kB / 435.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3619, allocations: 12 kB / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3619, allocations: 3.938 kB / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3619, allocations: 4.25 kB / 435.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3619, allocations: 0 / 435.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.362, allocations: 128.7 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.362, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.3621, allocations: 11.98 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3621, allocations: 3.938 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3621, allocations: 4 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3621, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.3621, allocations: 4 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3622, allocations: 89.33 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.3623, allocations: 11.88 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3623, allocations: 48 / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.3623, allocations: 7.984 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-06/0.3623, allocations: 0 / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3623, allocations: 0 / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.3624, allocations: 91.27 kB / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 0 / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.3625, allocations: 0 / 435.8 MB, free: 2.262 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0005194/0.3631, allocations: 0.6241 MB / 436.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3632, allocations: 27.92 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3632, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3632, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3634, allocations: 27.86 kB / 436.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.365, allocations: 1.146 MB / 437.6 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3651, allocations: 63.34 kB / 437.7 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3651, allocations: 4.25 kB / 437.7 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.3652, allocations: 19.52 kB / 437.7 MB, free: 208 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3652, allocations: 3.938 kB / 437.7 MB, free: 204 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3917, allocations: 1.399 MB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.21, allocations: 10.98 kB / 439.1 MB, free: 14.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.u,assignClock1.y,periodicClock1.period,periodicClock1.useSolver,step.height,step.offset,step.startTime,step.y,time [Calling sys.exit(0), Time elapsed: 13.820894705015235]