Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002772/0.1082, allocations: 1.447 MB / 427.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.1085, allocations: 99.73 kB / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.1085, allocations: 0 / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.1086, allocations: 3.938 kB / 427.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.1086, allocations: 3.938 kB / 427.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1089, allocations: 23.91 kB / 427.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.109, allocations: 23.98 kB / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1091, allocations: 4 kB / 427.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.1091, allocations: 27.78 kB / 427.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.1092, allocations: 7.938 kB / 427.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1092, allocations: 4 kB / 428 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.1092, allocations: 4 kB / 428 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.1092, allocations: 8 kB / 428 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1092, allocations: 15.86 kB / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.297e-05/0.1093, allocations: 27.84 kB / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1093, allocations: 0 / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1093, allocations: 0 / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1093, allocations: 0 / 428 MB, free: 3.078 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.0004783/0.1098, allocations: 347.4 kB / 428.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1099, allocations: 8.031 kB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.1099, allocations: 38.73 kB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1099, allocations: 8.891 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1102, allocations: 176.4 kB / 428.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1102, allocations: 4.375 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.1102, allocations: 384 / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1105, allocations: 111.8 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1105, allocations: 3.938 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.1105, allocations: 0 / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1105, allocations: 0 / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.1106, allocations: 15.98 kB / 428.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.1108, allocations: 165.6 kB / 428.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.111, allocations: 50.59 kB / 428.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1112, allocations: 20.89 kB / 428.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1112, allocations: 0 / 428.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1112, allocations: 42.48 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1112, allocations: 0 / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.1115, allocations: 73.73 kB / 429.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1115, allocations: 55.41 kB / 429.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.1116, allocations: 117.8 kB / 429.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1116, allocations: 25.7 kB / 429.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1117, allocations: 84.14 kB / 429.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.1117, allocations: 0 / 429.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1117, allocations: 17.72 kB / 429.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1119, allocations: 318.8 kB / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.1119, allocations: 0 / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.1119, allocations: 35.38 kB / 429.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.112, allocations: 39.38 kB / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.112, allocations: 0 / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.63e-05/0.1121, allocations: 61.61 kB / 429.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1121, allocations: 11.88 kB / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1121, allocations: 4 kB / 429.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1121, allocations: 0 / 429.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.1122, allocations: 4 kB / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1122, allocations: 7.984 kB / 429.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1122, allocations: 0 / 429.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1122, allocations: 4 kB / 429.8 MB, free: 1 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.806e-05/0.1123, allocations: 113.8 kB / 429.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1124, allocations: 61.72 kB / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1124, allocations: 11.89 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1124, allocations: 0 / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1124, allocations: 0 / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1124, allocations: 0 / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1126, allocations: 157.6 kB / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1126, allocations: 256 / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.1126, allocations: 15.98 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1126, allocations: 3.938 kB / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1126, allocations: 0 / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1126, allocations: 8 kB / 430.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1126, allocations: 0 / 430.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1128, allocations: 89 kB / 430.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1128, allocations: 77.11 kB / 430.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1129, allocations: 3.938 kB / 430.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.728e-05/0.1129, allocations: 4 kB / 430.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.1129, allocations: 0 / 430.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1129, allocations: 7.938 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.1129, allocations: 87.27 kB / 430.4 MB, free: 264 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1129, allocations: 0 / 430.4 MB, free: 264 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.1131, allocations: 4 kB / 430.5 MB, free: 260 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.0005098/0.1136, allocations: 0.6319 MB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1138, allocations: 19.98 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1138, allocations: 0 / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1138, allocations: 0 / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.114, allocations: 26.45 kB / 431.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1151, allocations: 1.147 MB / 432.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1154, allocations: 0.6885 MB / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1155, allocations: 0 / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1155, allocations: 15.42 kB / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1155, allocations: 0 / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1406, allocations: 1.245 MB / 434.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.77, allocations: 9.328 kB / 434.2 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.214359135832638]