Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.93/0.93, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.181e-05, allocations: 6.219 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001882/0.001904, allocations: 1.426 MB / 319.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.002075, allocations: 31.84 kB / 319.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.00213, allocations: 3.938 kB / 319.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.002157, allocations: 7.875 kB / 319.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.00219, allocations: 0 / 319.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.002446, allocations: 27.91 kB / 319.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.002529, allocations: 31.92 kB / 319.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.002638, allocations: 8 kB / 320 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.002691, allocations: 15.92 kB / 320 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.00273, allocations: 15.97 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.002753, allocations: 4 kB / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.002761, allocations: 4 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.002778, allocations: 0 / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.002803, allocations: 11.94 kB / 320 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.002895, allocations: 35.88 kB / 320 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.002898, allocations: 0 / 320 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.002899, allocations: 0 / 320 MB, free: 4.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.002904, allocations: 4 kB / 320 MB, free: 4.73 MB / 282.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.0003433/0.003247, allocations: 273.5 kB / 320.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.003289, allocations: 12.86 kB / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.003318, allocations: 34.75 kB / 320.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.00334, allocations: 4.938 kB / 320.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.003526, allocations: 121.7 kB / 320.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.003544, allocations: 4.312 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.003552, allocations: 4.375 kB / 320.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.003797, allocations: 119.8 kB / 320.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003804, allocations: 192 / 320.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.003816, allocations: 4.375 kB / 320.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003822, allocations: 4.125 kB / 320.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.003886, allocations: 19.98 kB / 320.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.003986, allocations: 128.8 kB / 320.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.004093, allocations: 54.48 kB / 320.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.004137, allocations: 24.92 kB / 320.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.004147, allocations: 0 / 320.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.004166, allocations: 42.55 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004167, allocations: 0 / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.004358, allocations: 81.61 kB / 321 MB, free: 3.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.004403, allocations: 55.34 kB / 321 MB, free: 3.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.00447, allocations: 109.8 kB / 321.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.004485, allocations: 25.7 kB / 321.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.004518, allocations: 88.12 kB / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.004531, allocations: 0 / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.004558, allocations: 17.72 kB / 321.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.004651, allocations: 310.8 kB / 321.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.004662, allocations: 3.938 kB / 321.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.004674, allocations: 15.98 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.004699, allocations: 8.859 kB / 321.6 MB, free: 3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.004701, allocations: 0 / 321.6 MB, free: 3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.018e-05/0.004752, allocations: 41.66 kB / 321.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.004766, allocations: 7.938 kB / 321.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.004774, allocations: 0 / 321.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.004793, allocations: 4 kB / 321.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.004854, allocations: 7.875 kB / 321.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.004858, allocations: 0 / 321.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.004868, allocations: 8.281 kB / 321.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.004872, allocations: 0 / 321.7 MB, free: 2.926 MB / 282.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.047e-05/0.004932, allocations: 109.8 kB / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.005018, allocations: 69.66 kB / 321.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.005039, allocations: 4 kB / 321.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005041, allocations: 256 / 321.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.005046, allocations: 3.938 kB / 321.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005049, allocations: 8 kB / 321.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.796e-05/0.005117, allocations: 128.8 kB / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005118, allocations: 0 / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.005149, allocations: 11.98 kB / 322 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-06/0.005151, allocations: 4 kB / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.005159, allocations: 0 / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.005163, allocations: 3.938 kB / 322 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005165, allocations: 3.938 kB / 322 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.989e-05/0.005265, allocations: 93.06 kB / 322.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.005271, allocations: 0 / 322.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.005285, allocations: 7.984 kB / 322.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.005298, allocations: 4 kB / 322.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-06/0.005302, allocations: 3.938 kB / 322.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.005305, allocations: 0 / 322.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.005336, allocations: 95.27 kB / 322.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 0 / 322.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001205/0.005457, allocations: 4 kB / 322.2 MB, free: 2.297 MB / 282.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: 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.0003307/0.005787, allocations: 0.6397 MB / 322.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.321e-05/0.005881, allocations: 19.98 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005882, allocations: 0 / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.005882, allocations: 3.938 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.006099, allocations: 39.83 kB / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.006745, allocations: 1.118 MB / 324 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.006783, allocations: 67.28 kB / 324.1 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.006803, allocations: 4 kB / 324.1 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.006838, allocations: 8.5 kB / 324.1 MB, free: 272 kB / 282.7 MB Notification: Performance of SimCode: time 4.4e-07/0.006838, allocations: 0 / 324.1 MB, free: 272 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.02367, allocations: 2.001 MB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.98, allocations: 10.42 kB / 326.1 MB, free: 14.39 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.685070936568081]