Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001591/0.001591, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001829/0.001829, allocations: 190.7 kB / 23.71 MB, free: 4.406 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.327/1.327, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 179] 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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.249, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002583/0.2516, allocations: 1.439 MB / 424 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.2518, allocations: 91.75 kB / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.2519, allocations: 7.875 kB / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.2519, allocations: 7.984 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.252, allocations: 3.938 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2522, allocations: 23.92 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.2522, allocations: 19.98 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.2523, allocations: 15.78 kB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.504e-05/0.2524, allocations: 11.94 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.2524, allocations: 15.86 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2524, allocations: 0 / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2524, allocations: 4 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.2524, allocations: 7.984 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.2525, allocations: 7.938 kB / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.801e-05/0.2525, allocations: 23.91 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2525, allocations: 4 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2525, allocations: 0 / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2525, allocations: 4 kB / 424.2 MB, free: 12.7 MB / 334.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.0003651/0.2529, allocations: 260.1 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2529, allocations: 8.031 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.253, allocations: 38.73 kB / 424.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.253, allocations: 4.938 kB / 424.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.2532, allocations: 118.4 kB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2532, allocations: 8.375 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.2532, allocations: 384 / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.2535, allocations: 103.8 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2535, allocations: 3.938 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2535, allocations: 7.938 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2535, allocations: 0 / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.2536, allocations: 15.98 kB / 424.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.2537, allocations: 124.8 kB / 424.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2539, allocations: 46.55 kB / 425 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.2539, allocations: 20.92 kB / 425 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2539, allocations: 11.94 kB / 425 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.254, allocations: 38.5 kB / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.254, allocations: 0 / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000184/0.2541, allocations: 65.61 kB / 425.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.2542, allocations: 55.41 kB / 425.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.2543, allocations: 97.86 kB / 425.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2543, allocations: 29.7 kB / 425.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.2543, allocations: 88.12 kB / 425.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.2543, allocations: 0 / 425.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.2544, allocations: 17.72 kB / 425.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2545, allocations: 314.8 kB / 425.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.2545, allocations: 7.984 kB / 425.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.2546, allocations: 31.38 kB / 425.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.2546, allocations: 31.44 kB / 425.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2546, allocations: 0 / 425.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.057e-05/0.2547, allocations: 61.64 kB / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2547, allocations: 11.94 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2547, allocations: 4 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2547, allocations: 0 / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.2548, allocations: 4 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2548, allocations: 0 / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.2548, allocations: 0 / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2548, allocations: 4 kB / 425.8 MB, free: 10.88 MB / 334.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.007e-05/0.2549, allocations: 121.8 kB / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.255, allocations: 49.62 kB / 426 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.255, allocations: 11.69 kB / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.255, allocations: 4 kB / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.255, allocations: 0 / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.255, allocations: 0 / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.2551, allocations: 128.7 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2551, allocations: 0 / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.2551, allocations: 4 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2551, allocations: 3.938 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2551, allocations: 0 / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2551, allocations: 0 / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2551, allocations: 3.938 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2553, allocations: 93.31 kB / 426.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.2553, allocations: 0 / 426.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2553, allocations: 4.188 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.2553, allocations: 8 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-06/0.2553, allocations: 4.031 kB / 426.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2553, allocations: 0 / 426.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.2554, allocations: 87.27 kB / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2554, allocations: 0 / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000187/0.2556, allocations: 4 kB / 426.4 MB, free: 10.28 MB / 334.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.000425/0.256, allocations: 0.6279 MB / 427 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.2561, allocations: 19.98 kB / 427 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2561, allocations: 0 / 427 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2561, allocations: 0 / 427 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2563, allocations: 27.91 kB / 427 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.2572, allocations: 1.139 MB / 428.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.2573, allocations: 67.45 kB / 428.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.59e-05/0.2573, allocations: 4 kB / 428.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2573, allocations: 15.44 kB / 428.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2573, allocations: 0 / 428.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.2856, allocations: 1.728 MB / 430 MB, free: 6.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.67, allocations: 10.69 kB / 430 MB, free: 6.629 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 12.854313228745013]