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.001264/0.001264, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001341/0.001341, allocations: 184.1 kB / 23.7 MB, free: 4.191 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.354/1.354, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001509/0.001509, allocations: 47.92 kB / 370.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2386, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002834/0.2414, allocations: 1.521 MB / 424.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004129/0.2418, allocations: 139.5 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.2419, allocations: 0 / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.242, allocations: 3.938 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2421, allocations: 11.88 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.2424, allocations: 39.84 kB / 424.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.2425, allocations: 31.97 kB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.2425, allocations: 7.797 kB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.2426, allocations: 15.92 kB / 424.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.2426, allocations: 19.88 kB / 424.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2426, allocations: 4 kB / 424.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.2426, allocations: 0 / 424.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.2427, allocations: 15.92 kB / 424.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.2427, allocations: 11.88 kB / 424.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2428, allocations: 43.81 kB / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2428, allocations: 0 / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2428, allocations: 0 / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2429, allocations: 0 / 424.4 MB, free: 12.57 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.0004515/0.2433, allocations: 299.8 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2433, allocations: 12.03 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.2434, allocations: 38.73 kB / 424.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.2434, allocations: 8.891 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.2436, allocations: 138.4 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2436, allocations: 4.375 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2437, allocations: 8.312 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2439, allocations: 109.6 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2439, allocations: 7.938 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2439, allocations: 4 kB / 425 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2439, allocations: 0 / 425 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.58e-05/0.244, allocations: 15.92 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.2443, allocations: 228.8 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2444, allocations: 65.08 kB / 425.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.2445, allocations: 21.78 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2445, allocations: 4 kB / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2445, allocations: 30.56 kB / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2445, allocations: 4 kB / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.2447, allocations: 73.56 kB / 425.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.2448, allocations: 77.11 kB / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2449, allocations: 133.8 kB / 425.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2449, allocations: 25.7 kB / 425.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.245, allocations: 92.08 kB / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.245, allocations: 0 / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.245, allocations: 21.72 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2451, allocations: 310.8 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.2452, allocations: 16.11 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.2452, allocations: 31.56 kB / 426.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.2453, allocations: 39.42 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2453, allocations: 3.938 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.2454, allocations: 65.61 kB / 426.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2454, allocations: 16.06 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2454, allocations: 0 / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2454, allocations: 7.984 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.013e-05/0.2454, allocations: 0 / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.2454, allocations: 0 / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.2455, allocations: 11.98 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.2455, allocations: 3.984 kB / 426.3 MB, free: 10.43 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 9.091e-05/0.2456, allocations: 125.7 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.2456, allocations: 49.64 kB / 426.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2457, allocations: 8 kB / 426.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2457, allocations: 8 kB / 426.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2457, allocations: 3.938 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2457, allocations: 0 / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2459, allocations: 136.7 kB / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2459, allocations: 0 / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.2459, allocations: 4 kB / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2459, allocations: 0 / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2459, allocations: 4 kB / 426.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2459, allocations: 0 / 426.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2459, allocations: 4 kB / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2461, allocations: 168.2 kB / 426.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.2462, allocations: 7.984 kB / 426.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2462, allocations: 4 kB / 426.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.2463, allocations: 4 kB / 426.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.2463, allocations: 3.984 kB / 426.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.2463, allocations: 4 kB / 426.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.2464, allocations: 99.27 kB / 426.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2464, allocations: 0 / 426.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.2466, allocations: 4 kB / 426.9 MB, free: 9.719 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.0005082/0.2471, allocations: 0.7122 MB / 427.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2472, allocations: 23.92 kB / 427.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.2472, allocations: 0 / 427.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.2472, allocations: 4 kB / 427.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2475, allocations: 20.02 kB / 427.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2488, allocations: 1.303 MB / 429 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.2489, allocations: 79.19 kB / 429.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.924e-05/0.2489, allocations: 4.422 kB / 429.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.2489, allocations: 11.44 kB / 429.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2489, allocations: 0 / 429.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.2767, allocations: 2.011 MB / 431.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.77, allocations: 6.297 kB / 431.1 MB, free: 5.543 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.003942525945604]