Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007043/0.0007043, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007756/0.0007756, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8514/0.8514, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1334/0.1334, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.869e-05, allocations: 9.516 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009879/0.001017, allocations: 0.5029 MB / 408.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006573/0.001674, allocations: 349.5 kB / 408.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.001693, allocations: 0 / 408.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.001712, allocations: 0 / 408.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.00172, allocations: 4 kB / 408.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.002396, allocations: 203.4 kB / 409.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.002446, allocations: 4 kB / 409.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.002481, allocations: 4 kB / 409.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.002507, allocations: 0 / 409.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.00253, allocations: 0 / 409.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.002538, allocations: 4 kB / 409.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.002769, allocations: 199.6 kB / 409.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.002778, allocations: 3.984 kB / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.002802, allocations: 0 / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.002994, allocations: 179.5 kB / 409.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002996, allocations: 4 kB / 409.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.002997, allocations: 0 / 409.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003001, allocations: 0 / 409.5 MB, free: 11.6 MB / 346.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.0002658/0.003267, allocations: 288 kB / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.0033, allocations: 8.031 kB / 409.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.003332, allocations: 4.938 kB / 409.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.259e-05/0.003385, allocations: 105.7 kB / 409.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.003396, allocations: 384 / 409.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003404, allocations: 4.312 kB / 409.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.003486, allocations: 59.95 kB / 410 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003493, allocations: 4.188 kB / 410 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003501, allocations: 384 / 410 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003505, allocations: 384 / 410 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.00353, allocations: 33.64 kB / 410 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.767e-05/0.003617, allocations: 97.33 kB / 410.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.00366, allocations: 48.25 kB / 410.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.003678, allocations: 34.5 kB / 410.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.003684, allocations: 0 / 410.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.003721, allocations: 72.3 kB / 410.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003722, allocations: 0 / 410.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.003886, allocations: 118.8 kB / 410.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.00392, allocations: 77.11 kB / 410.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.743e-05/0.003947, allocations: 93.84 kB / 410.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.003955, allocations: 29.64 kB / 410.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.003972, allocations: 80.14 kB / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.003987, allocations: 7.953 kB / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.004009, allocations: 9.719 kB / 410.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.004084, allocations: 318.8 kB / 411 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.0041, allocations: 29.7 kB / 411 MB, free: 9.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.004111, allocations: 25.7 kB / 411 MB, free: 9.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.004151, allocations: 64.45 kB / 411.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004153, allocations: 0 / 411.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.485e-05/0.004208, allocations: 93.09 kB / 411.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.004237, allocations: 32.36 kB / 411.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.004241, allocations: 0 / 411.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004253, allocations: 4 kB / 411.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.004254, allocations: 3.938 kB / 411.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.00426, allocations: 0 / 411.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.004271, allocations: 3.938 kB / 411.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.004279, allocations: 3.984 kB / 411.2 MB, free: 9.605 MB / 346.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 5.949e-05/0.004338, allocations: 139.6 kB / 411.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-06/0.004341, allocations: 0 / 411.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.029e-05/0.004352, allocations: 3 kB / 411.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004353, allocations: 0 / 411.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.004357, allocations: 0 / 411.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.004361, allocations: 4 kB / 411.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.295e-05/0.004414, allocations: 105.2 kB / 411.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004414, allocations: 0 / 411.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.004414, allocations: 0 / 411.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.004415, allocations: 0 / 411.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.004423, allocations: 11.94 kB / 411.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004423, allocations: 0 / 411.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004424, allocations: 3.938 kB / 411.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/0.004497, allocations: 120.5 kB / 411.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.004501, allocations: 0 / 411.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.004512, allocations: 7.938 kB / 411.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-06/0.004517, allocations: 4 kB / 411.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.00453, allocations: 0 / 411.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.004532, allocations: 0 / 411.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.004553, allocations: 75.28 kB / 411.7 MB, free: 9.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004553, allocations: 4.031 kB / 411.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.004721, allocations: 51.86 kB / 411.8 MB, free: 9.008 MB / 346.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.0002943/0.005015, allocations: 190.8 kB / 411.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.46e-05/0.005109, allocations: 118.8 kB / 412.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005111, allocations: 0 / 412.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.005135, allocations: 81.11 kB / 412.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.472e-05/0.00523, allocations: 0 / 412.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.005395, allocations: 132.6 kB / 412.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.00543, allocations: 63.28 kB / 412.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.005442, allocations: 8.5 kB / 412.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005442, allocations: 0 / 412.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of Templates: time 0.002132/0.007574, allocations: 1.447 MB / 413.8 MB, free: 6.871 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.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: 4.784232274629176]