Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001225/0.001225, allocations: 111.8 kB / 18.49 MB, free: 4.562 MB / 14.72 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.001385/0.001385, allocations: 194.6 kB / 21.43 MB, free: 1.633 MB / 14.72 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 1.394/1.394, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.92 kB / 366.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09824, allocations: 52.14 MB / 418.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002666/0.1009, allocations: 1.436 MB / 419.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1012, allocations: 103.6 kB / 420 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1013, allocations: 0 / 420 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1013, allocations: 7.875 kB / 420 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.1013, allocations: 3.938 kB / 420 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1016, allocations: 15.98 kB / 420 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.1017, allocations: 31.91 kB / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.1018, allocations: 4 kB / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1018, allocations: 23.92 kB / 420.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.1018, allocations: 3.938 kB / 420.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1019, allocations: 4 kB / 420.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.1019, allocations: 0 / 420.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.1019, allocations: 11.98 kB / 420.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.1019, allocations: 11.94 kB / 420.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.484e-05/0.102, allocations: 35.7 kB / 420.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.102, allocations: 0 / 420.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.102, allocations: 0 / 420.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.102, allocations: 0 / 420.2 MB, free: 11 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.0004754/0.1025, allocations: 351.4 kB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1025, allocations: 12.02 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.344e-05/0.1026, allocations: 4.188 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1026, allocations: 34.75 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1026, allocations: 0.9375 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1028, allocations: 180.3 kB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1029, allocations: 384 / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.1029, allocations: 8.359 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1032, allocations: 107.6 kB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1032, allocations: 0 / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1032, allocations: 7.938 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1032, allocations: 0 / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1033, allocations: 19.97 kB / 420.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1035, allocations: 157.7 kB / 421 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1036, allocations: 54.58 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1037, allocations: 20.89 kB / 421.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1037, allocations: 0 / 421.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1038, allocations: 38.5 kB / 421.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1038, allocations: 7.938 kB / 421.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002659/0.104, allocations: 73.56 kB / 421.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1041, allocations: 51.41 kB / 421.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1042, allocations: 109.8 kB / 421.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1042, allocations: 25.7 kB / 421.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1043, allocations: 84.14 kB / 421.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.1043, allocations: 4 kB / 421.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1043, allocations: 21.72 kB / 421.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1045, allocations: 314.8 kB / 421.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.1045, allocations: 3.938 kB / 421.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.1045, allocations: 35.38 kB / 421.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.1046, allocations: 39.42 kB / 421.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1046, allocations: 0 / 421.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.94e-05/0.1047, allocations: 53.58 kB / 421.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1047, allocations: 11.94 kB / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1047, allocations: 0 / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1047, allocations: 0 / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.1047, allocations: 11.98 kB / 422 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1047, allocations: 0 / 422 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.1048, allocations: 4.125 kB / 422 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1048, allocations: 4 kB / 422 MB, free: 8.922 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 9.496e-05/0.1049, allocations: 114.1 kB / 422.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.105, allocations: 65.5 kB / 422.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.105, allocations: 7.906 kB / 422.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.105, allocations: 4.328 kB / 422.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.105, allocations: 4 kB / 422.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.105, allocations: 0 / 422.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1052, allocations: 161.6 kB / 422.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1052, allocations: 3.984 kB / 422.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.1052, allocations: 7.984 kB / 422.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1052, allocations: 7.938 kB / 422.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1052, allocations: 0 / 422.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1052, allocations: 0 / 422.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1052, allocations: 0 / 422.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1054, allocations: 85.05 kB / 422.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1054, allocations: 89 kB / 422.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1054, allocations: 4 kB / 422.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.1055, allocations: 0 / 422.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.1055, allocations: 0 / 422.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1055, allocations: 0 / 422.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.1055, allocations: 91.27 kB / 422.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1055, allocations: 0 / 422.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000178/0.1057, allocations: 7.938 kB / 422.6 MB, free: 8.172 MB / 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.0004989/0.1062, allocations: 0.6241 MB / 423.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1063, allocations: 27.92 kB / 423.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1063, allocations: 3.938 kB / 423.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.1063, allocations: 0 / 423.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1066, allocations: 38.58 kB / 423.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1076, allocations: 1.142 MB / 424.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1079, allocations: 0.6883 MB / 425.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.1079, allocations: 4 kB / 425.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.108, allocations: 7.438 kB / 425.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.108, allocations: 0 / 425.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.1255, allocations: 1.302 MB / 426.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/7.981, allocations: 12.75 kB / 426.5 MB, free: 4.336 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.394816510961391]