Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.00182/0.00182, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002162/0.002162, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 53.33 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00265/0.1217, allocations: 1.443 MB / 428.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.1219, allocations: 35.84 kB / 428.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.122, allocations: 0 / 428.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.122, allocations: 3.938 kB / 428.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.122, allocations: 7.938 kB / 428.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1223, allocations: 15.97 kB / 428.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.1224, allocations: 31.92 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.1225, allocations: 4 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.1225, allocations: 15.92 kB / 428.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.1226, allocations: 15.94 kB / 428.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1226, allocations: 4 kB / 428.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-06/0.1226, allocations: 0 / 428.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.1226, allocations: 15.97 kB / 428.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1226, allocations: 11.88 kB / 428.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.1227, allocations: 31.83 kB / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1227, allocations: 0 / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1227, allocations: 0 / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1227, allocations: 0 / 428.3 MB, free: 3.359 MB / 350.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.0004672/0.1232, allocations: 343.5 kB / 428.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1232, allocations: 16.03 kB / 428.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1233, allocations: 30.75 kB / 428.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1233, allocations: 4.891 kB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1235, allocations: 188.2 kB / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1236, allocations: 384 / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1236, allocations: 4.375 kB / 428.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1239, allocations: 123.8 kB / 429 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1239, allocations: 3.938 kB / 429 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1239, allocations: 4 kB / 429 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1239, allocations: 0 / 429 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.124, allocations: 19.98 kB / 429 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1242, allocations: 157.7 kB / 429.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1244, allocations: 58.48 kB / 429.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1244, allocations: 32.86 kB / 429.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1245, allocations: 3.938 kB / 429.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1245, allocations: 30.56 kB / 429.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.1245, allocations: 7.984 kB / 429.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.1248, allocations: 89.48 kB / 429.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1248, allocations: 55.41 kB / 429.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.1249, allocations: 105.8 kB / 429.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1249, allocations: 25.7 kB / 429.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.125, allocations: 88.14 kB / 429.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.125, allocations: 3.984 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.125, allocations: 17.72 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1252, allocations: 314.8 kB / 430 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.1252, allocations: 8 kB / 430 MB, free: 1.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.1252, allocations: 27.42 kB / 430 MB, free: 1.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.1253, allocations: 39.38 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1253, allocations: 0 / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.799e-05/0.1254, allocations: 65.58 kB / 430.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1254, allocations: 7.938 kB / 430.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1254, allocations: 4.5 kB / 430.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1254, allocations: 4 kB / 430.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.1255, allocations: 7.938 kB / 430.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1255, allocations: 4 kB / 430.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.1255, allocations: 7.984 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1255, allocations: 4 kB / 430.2 MB, free: 1.227 MB / 350.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.497e-05/0.1256, allocations: 113.8 kB / 430.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.1257, allocations: 69.56 kB / 430.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.1258, allocations: 3.906 kB / 430.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1258, allocations: 7.938 kB / 430.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1258, allocations: 4 kB / 430.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1258, allocations: 0 / 430.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1259, allocations: 157.7 kB / 430.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1259, allocations: 3.938 kB / 430.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.1259, allocations: 8 kB / 430.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1259, allocations: 3.938 kB / 430.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.126, allocations: 3.984 kB / 430.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.126, allocations: 0 / 430.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.126, allocations: 0 / 430.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1261, allocations: 89.11 kB / 430.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1262, allocations: 89 kB / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1262, allocations: 7.938 kB / 430.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.1262, allocations: 7.984 kB / 430.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.1262, allocations: 0 / 430.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1262, allocations: 0 / 430.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1263, allocations: 83.28 kB / 430.8 MB, free: 484 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1263, allocations: 3.938 kB / 430.8 MB, free: 480 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001781/0.1265, allocations: 8 kB / 430.8 MB, free: 472 kB / 350.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005907/0.127, allocations: 0.6476 MB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1272, allocations: 27.92 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1272, allocations: 320 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1272, allocations: 4 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1274, allocations: 32.91 kB / 431.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1285, allocations: 1.174 MB / 432.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1288, allocations: 0.6885 MB / 433.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.1289, allocations: 4 kB / 433.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1289, allocations: 15.38 kB / 433.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1289, allocations: 0 / 433.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1525, allocations: 1.378 MB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.838, allocations: 18.31 kB / 434.8 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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: 10.447057271841913]