Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001787/0.001787, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002235/0.002235, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.411/1.411, allocations: 230.4 MB / 254 MB, free: 15.01 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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 53.38 MB / 426.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003102/0.1109, allocations: 1.447 MB / 427.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.1113, allocations: 103.7 kB / 427.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.1113, allocations: 3.938 kB / 427.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.1114, allocations: 0 / 427.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.1114, allocations: 3.938 kB / 427.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1117, allocations: 23.91 kB / 427.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1118, allocations: 27.92 kB / 428 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1119, allocations: 4 kB / 428 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.1119, allocations: 11.92 kB / 428 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.112, allocations: 15.92 kB / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.112, allocations: 4 kB / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.112, allocations: 0 / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.112, allocations: 12 kB / 428 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1121, allocations: 7.938 kB / 428 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1122, allocations: 31.78 kB / 428 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1122, allocations: 0 / 428 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1122, allocations: 0 / 428 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1122, allocations: 0 / 428 MB, free: 2.922 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.0004597/0.1126, allocations: 342 kB / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1127, allocations: 8.031 kB / 428.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1127, allocations: 38.75 kB / 428.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1128, allocations: 0.9375 kB / 428.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.113, allocations: 184.2 kB / 428.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.113, allocations: 8.375 kB / 428.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.113, allocations: 384 / 428.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1133, allocations: 95.88 kB / 428.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1133, allocations: 3.938 kB / 428.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1133, allocations: 4 kB / 428.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1133, allocations: 4 kB / 428.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.1134, allocations: 15.98 kB / 428.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1136, allocations: 149.7 kB / 428.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1137, allocations: 46.56 kB / 428.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.1138, allocations: 24.86 kB / 428.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1138, allocations: 4 kB / 428.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1138, allocations: 30.56 kB / 429 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1138, allocations: 3.938 kB / 429 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002276/0.1141, allocations: 73.56 kB / 429.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1141, allocations: 51.41 kB / 429.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.1142, allocations: 109.8 kB / 429.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1142, allocations: 25.7 kB / 429.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1143, allocations: 84.14 kB / 429.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.1143, allocations: 0 / 429.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1143, allocations: 17.72 kB / 429.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1144, allocations: 318.8 kB / 429.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.1145, allocations: 8 kB / 429.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.1145, allocations: 23.69 kB / 429.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.1145, allocations: 43.38 kB / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1145, allocations: 4 kB / 429.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.895e-05/0.1146, allocations: 53.62 kB / 429.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1147, allocations: 11.88 kB / 429.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1147, allocations: 128 / 429.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1147, allocations: 8 kB / 429.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.1147, allocations: 0 / 429.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1147, allocations: 4 kB / 429.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.1148, allocations: 4.266 kB / 429.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1148, allocations: 4 kB / 429.8 MB, free: 0.8906 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.908e-05/0.1148, allocations: 113.8 kB / 429.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.115, allocations: 61.56 kB / 430 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.115, allocations: 7.5 kB / 430 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.115, allocations: 8 kB / 430 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.115, allocations: 0 / 430 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.115, allocations: 0 / 430 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1151, allocations: 157.7 kB / 430.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1151, allocations: 0 / 430.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.1152, allocations: 0 / 430.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1152, allocations: 3.938 kB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1152, allocations: 4 kB / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1152, allocations: 0 / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1152, allocations: 0 / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.1153, allocations: 81.06 kB / 430.2 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1154, allocations: 88.98 kB / 430.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1154, allocations: 7.938 kB / 430.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.1154, allocations: 0 / 430.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.1154, allocations: 0 / 430.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1154, allocations: 0 / 430.3 MB, free: 264 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.863e-05/0.1155, allocations: 87.28 kB / 430.4 MB, free: 176 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1155, allocations: 0 / 430.4 MB, free: 176 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1156, allocations: 7.938 kB / 430.4 MB, free: 168 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.0005053/0.1161, allocations: 0.6241 MB / 431 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1163, allocations: 19.98 kB / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1163, allocations: 256 / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.1163, allocations: 7.938 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1165, allocations: 16 kB / 431.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1176, allocations: 1.152 MB / 432.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1179, allocations: 0.6807 MB / 432.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.1179, allocations: 7.938 kB / 432.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.118, allocations: 11.44 kB / 432.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.118, allocations: 0 / 432.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1416, allocations: 1.238 MB / 434.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.519, allocations: 2.812 kB / 434.2 MB, free: 12.38 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.12391324294731]