Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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.0009173/0.0009173, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008663/0.0008663, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.936/0.936, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 32.79 MB / 293.5 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.858e-05, allocations: 6.219 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001014/0.001032, allocations: 0.4924 MB / 440.1 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.00168, allocations: 371 kB / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.001696, allocations: 0 / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.001712, allocations: 0 / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-06/0.001718, allocations: 4 kB / 440.4 MB, free: 3.426 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.002424, allocations: 211.3 kB / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.002472, allocations: 0 / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.002505, allocations: 4 kB / 440.6 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.002532, allocations: 0 / 440.6 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.929e-05/0.002551, allocations: 4 kB / 440.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.002559, allocations: 0 / 440.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.002865, allocations: 223.5 kB / 440.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-06/0.002872, allocations: 0 / 440.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.002893, allocations: 7.984 kB / 440.9 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.003101, allocations: 179.6 kB / 441 MB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003103, allocations: 0 / 441 MB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003104, allocations: 0 / 441 MB, free: 2.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.003108, allocations: 0 / 441 MB, free: 2.809 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000286/0.003394, allocations: 292 kB / 441.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.003433, allocations: 8.031 kB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.00346, allocations: 34.69 kB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.003485, allocations: 4.922 kB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.713e-05/0.003542, allocations: 105.8 kB / 441.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003552, allocations: 384 / 441.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.00356, allocations: 384 / 441.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.003657, allocations: 63.89 kB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.003667, allocations: 192 / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.003676, allocations: 384 / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.003682, allocations: 8.125 kB / 441.5 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.003705, allocations: 25.7 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.003808, allocations: 128.7 kB / 441.7 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.003854, allocations: 48.25 kB / 441.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.003872, allocations: 30.56 kB / 441.8 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.003879, allocations: 0 / 441.8 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.00391, allocations: 56.27 kB / 441.8 MB, free: 1.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.00391, allocations: 8 kB / 441.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.004073, allocations: 126.7 kB / 442 MB, free: 1.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.004113, allocations: 81.05 kB / 442 MB, free: 1.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.874e-05/0.004141, allocations: 93.98 kB / 442.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.004154, allocations: 25.7 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.004175, allocations: 80.14 kB / 442.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.00419, allocations: 0 / 442.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.004213, allocations: 17.72 kB / 442.3 MB, free: 1.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.004291, allocations: 314.8 kB / 442.6 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.004306, allocations: 29.7 kB / 442.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.004321, allocations: 25.7 kB / 442.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.004359, allocations: 64.2 kB / 442.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004361, allocations: 64 / 442.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.772e-05/0.004419, allocations: 97.09 kB / 442.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.004445, allocations: 32.05 kB / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.004451, allocations: 4 kB / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.004461, allocations: 0 / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.004462, allocations: 0 / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.00447, allocations: 7.938 kB / 442.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.00448, allocations: 0 / 442.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.004485, allocations: 0 / 442.8 MB, free: 0.7344 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.318e-05/0.004549, allocations: 144.1 kB / 443 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-06/0.004552, allocations: 4.031 kB / 443 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.004561, allocations: 3 kB / 443 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004563, allocations: 0 / 443 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.004568, allocations: 3.938 kB / 443 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.004571, allocations: 0 / 443 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.847e-05/0.004629, allocations: 120.8 kB / 443.1 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.00463, allocations: 0 / 443.1 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.00463, allocations: 0 / 443.1 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.00463, allocations: 3.938 kB / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.004637, allocations: 3.984 kB / 443.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.004638, allocations: 0 / 443.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.004639, allocations: 7.938 kB / 443.1 MB, free: 396 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/0.004709, allocations: 116.5 kB / 443.2 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.004714, allocations: 3.984 kB / 443.2 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-06/0.004724, allocations: 0 / 443.2 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-06/0.004729, allocations: 0 / 443.2 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.004741, allocations: 7.875 kB / 443.2 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004742, allocations: 4 kB / 443.2 MB, free: 232 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.004763, allocations: 75.28 kB / 443.3 MB, free: 156 kB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004763, allocations: 0 / 443.3 MB, free: 156 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.004966, allocations: 51.92 kB / 443.4 MB, free: 104 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.1909/0.1959, allocations: 0.7428 MB / 444.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.196, allocations: 117.1 kB / 444.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.196, allocations: 2.188 kB / 444.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.196, allocations: 79.89 kB / 444.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.1961, allocations: 7.422 kB / 444.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1964, allocations: 156.4 kB / 444.4 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.1964, allocations: 57.53 kB / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.693e-06/0.1964, allocations: 0 / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.1965, allocations: 8.5 kB / 444.5 MB, free: 45.22 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1965, allocations: 0 / 444.5 MB, free: 45.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.2131, allocations: 3.138 MB / 447.7 MB, free: 44.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.275, allocations: 9.031 kB / 447.7 MB, free: 44.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.360280560329556]