Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001381/0.001381, allocations: 115.6 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.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.001685/0.001685, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 44.08 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 53.37 MB / 431.1 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002774/0.2389, allocations: 1.518 MB / 432.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.2393, allocations: 139.5 kB / 432.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.2394, allocations: 4 kB / 432.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.2394, allocations: 3.938 kB / 432.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2395, allocations: 11.92 kB / 432.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.2398, allocations: 43.84 kB / 432.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2399, allocations: 27.92 kB / 432.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.24, allocations: 19.77 kB / 432.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.24, allocations: 11.94 kB / 432.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.2401, allocations: 19.86 kB / 432.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2401, allocations: 0 / 432.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2401, allocations: 7.938 kB / 432.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.2402, allocations: 19.92 kB / 433 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.2402, allocations: 15.88 kB / 433 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2403, allocations: 43.81 kB / 433 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2403, allocations: 0 / 433 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2403, allocations: 0 / 433 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2403, allocations: 0 / 433 MB, free: 5.117 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.0004459/0.2408, allocations: 295.8 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2408, allocations: 8.031 kB / 433.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.2409, allocations: 38.75 kB / 433.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.2409, allocations: 4.891 kB / 433.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2411, allocations: 142.4 kB / 433.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2411, allocations: 8.359 kB / 433.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2412, allocations: 384 / 433.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.2414, allocations: 117.6 kB / 433.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2414, allocations: 3.938 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2415, allocations: 4 kB / 433.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.2415, allocations: 4 kB / 433.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.2415, allocations: 15.94 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.2419, allocations: 236.8 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.242, allocations: 61.08 kB / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.2421, allocations: 25.78 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2421, allocations: 0 / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2421, allocations: 38.55 kB / 434 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2421, allocations: 0 / 434 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002267/0.2423, allocations: 73.58 kB / 434.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2424, allocations: 77.11 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2425, allocations: 136.8 kB / 434.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2425, allocations: 25.7 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.2426, allocations: 88.14 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.2426, allocations: 0 / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2426, allocations: 21.66 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2428, allocations: 323 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.2428, allocations: 8 kB / 434.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.2429, allocations: 27.42 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.2429, allocations: 47.31 kB / 434.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2429, allocations: 7.875 kB / 434.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.2431, allocations: 65.58 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2431, allocations: 4 kB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2431, allocations: 0 / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2431, allocations: 4 kB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.405e-05/0.2431, allocations: 3.984 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2431, allocations: 128 / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.2431, allocations: 8 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.2431, allocations: 3.938 kB / 434.9 MB, free: 2.98 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.0001019/0.2432, allocations: 121.8 kB / 435 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.2433, allocations: 49.64 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.2434, allocations: 8 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2434, allocations: 0 / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2434, allocations: 4 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2434, allocations: 336 / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2435, allocations: 140.7 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2435, allocations: 0 / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.2436, allocations: 8 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2436, allocations: 7.969 kB / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.2436, allocations: 0 / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2436, allocations: 3.938 kB / 435.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2436, allocations: 0 / 435.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2437, allocations: 164.3 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.2438, allocations: 19.94 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2438, allocations: 4 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.2438, allocations: 0 / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2439, allocations: 4 kB / 435.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.2439, allocations: 0 / 435.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.457e-05/0.2439, allocations: 107.2 kB / 435.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2439, allocations: 0 / 435.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2442, allocations: 4 kB / 435.5 MB, free: 2.262 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.0004825/0.2447, allocations: 0.7053 MB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2448, allocations: 23.92 kB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2448, allocations: 256 / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.2448, allocations: 8 kB / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2451, allocations: 27.58 kB / 436.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2463, allocations: 1.302 MB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.2467, allocations: 0.6924 MB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.2467, allocations: 4 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.2467, allocations: 7.438 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2467, allocations: 0 / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.2742, allocations: 1.592 MB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.58, allocations: 4.062 kB / 439.9 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.006810531020164]