Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001823/0.001823, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002288/0.002288, allocations: 188.2 kB / 23.72 MB, free: 4.684 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.364/1.364, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002859/0.2562, allocations: 1.525 MB / 424.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.2566, allocations: 135.5 kB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.2567, allocations: 0 / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.539e-05/0.2568, allocations: 11.92 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2569, allocations: 3.938 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2571, allocations: 35.91 kB / 424.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.2572, allocations: 39.91 kB / 424.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2573, allocations: 11.98 kB / 424.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.2574, allocations: 15.92 kB / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.2574, allocations: 11.88 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2574, allocations: 7.938 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.2574, allocations: 0 / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.2575, allocations: 11.98 kB / 424.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.2575, allocations: 23.81 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2576, allocations: 47.61 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2576, allocations: 0 / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2577, allocations: 0 / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2577, allocations: 4 kB / 424.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004365/0.2581, allocations: 290.6 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2581, allocations: 11.97 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.2582, allocations: 38.75 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2582, allocations: 12.88 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2585, allocations: 133.8 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2585, allocations: 8.375 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.2585, allocations: 4.375 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2588, allocations: 113.6 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2588, allocations: 3.938 kB / 425.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.2588, allocations: 0 / 425.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2588, allocations: 4 kB / 425.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.2588, allocations: 23.88 kB / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.2592, allocations: 232.8 kB / 425.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.2593, allocations: 57.08 kB / 425.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.2593, allocations: 29.77 kB / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2594, allocations: 4 kB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2594, allocations: 38.56 kB / 425.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2594, allocations: 0 / 425.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002211/0.2596, allocations: 69.58 kB / 425.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.2597, allocations: 81.28 kB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2598, allocations: 134 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.2598, allocations: 25.7 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.2599, allocations: 84.14 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.2599, allocations: 7.953 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.2599, allocations: 17.72 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2601, allocations: 318.8 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.2601, allocations: 4 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.2601, allocations: 43.34 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.2602, allocations: 35.44 kB / 426.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2602, allocations: 3.938 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.2603, allocations: 69.52 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2603, allocations: 7.984 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2604, allocations: 0 / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2604, allocations: 7.938 kB / 426.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-06/0.2604, allocations: 0 / 426.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2604, allocations: 0 / 426.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.2604, allocations: 8 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2604, allocations: 0 / 426.4 MB, free: 10.57 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.0001029/0.2605, allocations: 125.9 kB / 426.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.2606, allocations: 53.58 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.2606, allocations: 4 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2606, allocations: 7.984 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2606, allocations: 0 / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2606, allocations: 0 / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2608, allocations: 136.7 kB / 426.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2608, allocations: 3.984 kB / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.2608, allocations: 4 kB / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2608, allocations: 0 / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2608, allocations: 0 / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2608, allocations: 4 kB / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2608, allocations: 7.984 kB / 426.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.261, allocations: 164.2 kB / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.261, allocations: 11.98 kB / 426.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2611, allocations: 3.938 kB / 426.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.2611, allocations: 4 kB / 426.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2611, allocations: 11.98 kB / 426.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2611, allocations: 4 kB / 426.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.849e-05/0.2612, allocations: 99.27 kB / 427 MB, free: 9.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2612, allocations: 0 / 427 MB, free: 9.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.2614, allocations: 8 kB / 427 MB, free: 9.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004984/0.2619, allocations: 0.7014 MB / 427.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2621, allocations: 23.92 kB / 427.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2621, allocations: 4 kB / 427.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.2621, allocations: 4 kB / 427.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2624, allocations: 23.53 kB / 427.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2638, allocations: 1.307 MB / 429.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2641, allocations: 0.6922 MB / 429.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2641, allocations: 8 kB / 429.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.2642, allocations: 11.48 kB / 429.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2642, allocations: 0 / 429.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.2915, allocations: 1.575 MB / 431.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11, allocations: 6.297 kB / 431.4 MB, free: 5.473 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 13.320412446046248]