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.0008573/0.0008573, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008872/0.0008872, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8795/0.8795, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.307e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002634/0.002657, allocations: 1.468 MB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.002952, allocations: 91.69 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.003024, allocations: 0 / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.003058, allocations: 7.984 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.003095, allocations: 3.938 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.00337, allocations: 27.84 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.003466, allocations: 23.88 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003575, allocations: 11.98 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.003625, allocations: 11.98 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.003666, allocations: 4 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.003695, allocations: 8 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.003703, allocations: 0 / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.003726, allocations: 11.92 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.003755, allocations: 7.984 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003856, allocations: 23.91 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.003861, allocations: 4 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.003863, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.003868, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 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.0004522/0.00432, allocations: 262.3 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.004375, allocations: 11.98 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.004421, allocations: 42.73 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.00445, allocations: 8.891 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.004666, allocations: 117.7 kB / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.004674, allocations: 4.312 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.004684, allocations: 8.375 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.004948, allocations: 103.9 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.004954, allocations: 4.188 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.004962, allocations: 384 / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004967, allocations: 4.125 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.005017, allocations: 19.98 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.81e-05/0.005115, allocations: 132.7 kB / 326.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.005239, allocations: 50.55 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.005276, allocations: 28.86 kB / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.005293, allocations: 0 / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.005311, allocations: 30.56 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005312, allocations: 7.938 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001511/0.005463, allocations: 65.67 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.005502, allocations: 59.34 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.005556, allocations: 109.8 kB / 327.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.005565, allocations: 25.7 kB / 327.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.005622, allocations: 84.14 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.005625, allocations: 0 / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.005643, allocations: 13.72 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.005713, allocations: 314.8 kB / 327.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.005718, allocations: 7.938 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.005722, allocations: 4 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.005741, allocations: 79.28 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.005757, allocations: 79.22 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.914e-05/0.005787, allocations: 25.7 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.005814, allocations: 86.56 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.005832, allocations: 79.22 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.005872, allocations: 150.6 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-05/0.005889, allocations: 83.22 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.235e-05/0.005981, allocations: 162.5 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.006021, allocations: 75.28 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.006039, allocations: 91.22 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 6.331e-05/0.006103, allocations: 181.1 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.006171, allocations: 61.81 kB / 328.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.006195, allocations: 11.98 kB / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006197, allocations: 0 / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.006201, allocations: 3.938 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.006203, allocations: 0 / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.243e-05/0.006255, allocations: 124.8 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.006259, allocations: 4 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.006318, allocations: 8 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006321, allocations: 0 / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.006326, allocations: 0 / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.006328, allocations: 4 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006329, allocations: 3.938 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.624e-05/0.006405, allocations: 85.05 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.006412, allocations: 3.953 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.006421, allocations: 4 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.006431, allocations: 3.984 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-06/0.006434, allocations: 3.938 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.006439, allocations: 8.25 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.006466, allocations: 87.28 kB / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006466, allocations: 0 / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006601, allocations: 3.938 kB / 329.2 MB, free: 10.93 MB / 298.7 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.0002475/0.006848, allocations: 0.6163 MB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.326e-05/0.006902, allocations: 15.98 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006904, allocations: 0 / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.006904, allocations: 0 / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.007082, allocations: 27.92 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.007852, allocations: 1.383 MB / 331.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.007887, allocations: 63.34 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.659e-06/0.007896, allocations: 0 / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.007929, allocations: 12.5 kB / 331.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00793, allocations: 0 / 331.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.02121, allocations: 1.824 MB / 333.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.696, allocations: 15.44 kB / 333.1 MB, free: 6.949 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.32026000879705]