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.001253/0.001253, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001359/0.001359, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.387/1.387, allocations: 225.6 MB / 249.1 MB, free: 3.617 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002788/0.1054, allocations: 1.434 MB / 419.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.1057, allocations: 99.62 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1058, allocations: 3.938 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.1058, allocations: 3.938 kB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.1058, allocations: 0 / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1061, allocations: 23.91 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.1062, allocations: 27.92 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1063, allocations: 15.98 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.1063, allocations: 11.92 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.1064, allocations: 7.938 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1064, allocations: 4 kB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.1064, allocations: 0 / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.1064, allocations: 11.98 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.1065, allocations: 11.88 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.874e-05/0.1066, allocations: 27.84 kB / 419.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1066, allocations: 0 / 419.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1066, allocations: 0 / 419.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1066, allocations: 0 / 419.5 MB, free: 10.92 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.0005525/0.1071, allocations: 355.3 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1072, allocations: 8.031 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1072, allocations: 38.67 kB / 419.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.1072, allocations: 4.938 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1075, allocations: 184.2 kB / 420 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1075, allocations: 4.375 kB / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1075, allocations: 384 / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1078, allocations: 107.9 kB / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1078, allocations: 7.922 kB / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1078, allocations: 0 / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1078, allocations: 0 / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.1079, allocations: 15.98 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1081, allocations: 161.6 kB / 420.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1082, allocations: 50.55 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.1083, allocations: 24.92 kB / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1083, allocations: 0 / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1083, allocations: 34.56 kB / 420.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1083, allocations: 0 / 420.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002196/0.1086, allocations: 81.5 kB / 420.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1086, allocations: 55.41 kB / 420.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1087, allocations: 113.8 kB / 420.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1087, allocations: 25.7 kB / 420.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.1088, allocations: 84.14 kB / 420.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.1088, allocations: 0 / 420.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1088, allocations: 21.7 kB / 420.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.109, allocations: 318.8 kB / 421.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.109, allocations: 3.938 kB / 421.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.109, allocations: 27.44 kB / 421.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.1091, allocations: 47.36 kB / 421.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1091, allocations: 0 / 421.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.1092, allocations: 49.64 kB / 421.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1092, allocations: 7.938 kB / 421.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1092, allocations: 11.92 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1092, allocations: 0 / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1093, allocations: 4 kB / 421.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1093, allocations: 4 kB / 421.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.1093, allocations: 0 / 421.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1093, allocations: 8.125 kB / 421.3 MB, free: 8.836 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.536e-05/0.1094, allocations: 109.8 kB / 421.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1095, allocations: 65.84 kB / 421.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.1096, allocations: 11.89 kB / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1096, allocations: 3.984 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1096, allocations: 0 / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1096, allocations: 0 / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1097, allocations: 157.6 kB / 421.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1097, allocations: 4 kB / 421.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.1097, allocations: 15.92 kB / 421.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1097, allocations: 3.938 kB / 421.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1097, allocations: 0 / 421.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001059/0.1099, allocations: 4 kB / 421.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1099, allocations: 0 / 421.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.11, allocations: 81.11 kB / 421.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.11, allocations: 81.06 kB / 421.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1101, allocations: 7.938 kB / 421.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.1101, allocations: 4 kB / 421.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.1101, allocations: 0 / 421.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1101, allocations: 4.234 kB / 421.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.318e-05/0.1102, allocations: 91.22 kB / 421.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1102, allocations: 0 / 421.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.1103, allocations: 4 kB / 421.9 MB, free: 8.09 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.0004945/0.1108, allocations: 0.628 MB / 422.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1109, allocations: 23.92 kB / 422.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1109, allocations: 3.938 kB / 422.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1109, allocations: 0 / 422.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1112, allocations: 26.22 kB / 422.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1124, allocations: 1.154 MB / 423.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1127, allocations: 0.6844 MB / 424.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.1127, allocations: 0 / 424.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.1128, allocations: 15.44 kB / 424.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1128, allocations: 0 / 424.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.2226, allocations: 1.25 MB / 425.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.916, allocations: 11.77 kB / 425.7 MB, free: 4.281 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.314680699724704]