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.001284/0.001284, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.0013/0.0013, allocations: 208.9 kB / 21.46 MB, free: 1.645 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.364/1.364, allocations: 230.2 MB / 254.5 MB, free: 15.28 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="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 0.001748/0.001748, allocations: 71.88 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09872, allocations: 53.33 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002525/0.1012, allocations: 1.451 MB / 428.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.1015, allocations: 99.72 kB / 428.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.1016, allocations: 0 / 428.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1016, allocations: 3.938 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.1016, allocations: 3.938 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1019, allocations: 23.92 kB / 428.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.1019, allocations: 19.98 kB / 428.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.102, allocations: 7.984 kB / 428.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.1021, allocations: 15.94 kB / 428.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1021, allocations: 15.86 kB / 428.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1021, allocations: 4 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.1021, allocations: 0 / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1021, allocations: 8 kB / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1022, allocations: 11.88 kB / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.1023, allocations: 31.83 kB / 428.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1023, allocations: 3.984 kB / 428.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1023, allocations: 0 / 428.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1023, allocations: 0 / 428.4 MB, free: 3.312 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.0004436/0.1027, allocations: 347.4 kB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1028, allocations: 8.031 kB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1028, allocations: 30.75 kB / 428.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.1028, allocations: 8.891 kB / 428.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.103, allocations: 176.4 kB / 428.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.103, allocations: 384 / 428.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1031, allocations: 8.375 kB / 428.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1034, allocations: 111.8 kB / 429 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1034, allocations: 3.938 kB / 429 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1034, allocations: 0 / 429 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1034, allocations: 0 / 429 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.1034, allocations: 19.98 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.1036, allocations: 161.6 kB / 429.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1037, allocations: 54.55 kB / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.1038, allocations: 24.92 kB / 429.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1038, allocations: 0 / 429.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1039, allocations: 34.5 kB / 429.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1039, allocations: 0 / 429.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.1041, allocations: 77.59 kB / 429.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1041, allocations: 55.41 kB / 429.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.1042, allocations: 113.7 kB / 429.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1042, allocations: 25.7 kB / 429.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.1043, allocations: 88.12 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.1043, allocations: 0 / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.1043, allocations: 17.72 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1044, allocations: 314.8 kB / 430 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1044, allocations: 7.984 kB / 430 MB, free: 1.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.1045, allocations: 31.38 kB / 430 MB, free: 1.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.1045, allocations: 39.44 kB / 430.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1045, allocations: 3.938 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.834e-05/0.1046, allocations: 57.58 kB / 430.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1046, allocations: 7.938 kB / 430.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1046, allocations: 0 / 430.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1046, allocations: 4 kB / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.1047, allocations: 4 kB / 430.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1047, allocations: 4 kB / 430.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.1047, allocations: 0 / 430.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1047, allocations: 8.109 kB / 430.2 MB, free: 1.238 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: 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 8.568e-05/0.1048, allocations: 117.8 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1049, allocations: 57.62 kB / 430.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.1049, allocations: 7.906 kB / 430.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1049, allocations: 0 / 430.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1049, allocations: 0 / 430.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1049, allocations: 3.984 kB / 430.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1051, allocations: 157.6 kB / 430.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1051, allocations: 0 / 430.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.1051, allocations: 12.25 kB / 430.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1051, allocations: 3.938 kB / 430.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1051, allocations: 7.984 kB / 430.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1051, allocations: 0 / 430.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1051, allocations: 4 kB / 430.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1053, allocations: 85.34 kB / 430.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1053, allocations: 81.09 kB / 430.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1053, allocations: 7.938 kB / 430.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.1053, allocations: 4 kB / 430.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-06/0.1053, allocations: 4.031 kB / 430.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1053, allocations: 3.938 kB / 430.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.1054, allocations: 83.28 kB / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1054, allocations: 0 / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.1056, allocations: 7.984 kB / 430.8 MB, free: 500 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: 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.0004607/0.106, allocations: 0.6318 MB / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1061, allocations: 23.98 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1061, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.1061, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1063, allocations: 19.94 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.1073, allocations: 1.154 MB / 432.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1076, allocations: 0.6807 MB / 433.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.237e-05/0.1076, allocations: 0 / 433.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1076, allocations: 15.42 kB / 433.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1076, allocations: 0 / 433.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1294, allocations: 1.25 MB / 434.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.836, allocations: 11.88 kB / 434.6 MB, free: 12.68 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.104052354115993]