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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 109.5 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.19 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3175, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00216/0.3197, allocations: 493.3 kB / 0.52 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.3205, allocations: 372.7 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.451e-05/0.3205, allocations: 1.281 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3205, allocations: 4 kB / 0.5204 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.3206, allocations: 0 / 0.5204 GB, free: 3.078 MB / 382.1 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.0008078/0.3214, allocations: 204 kB / 0.5206 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.3214, allocations: 2.75 kB / 0.5206 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.3215, allocations: 0.75 kB / 0.5206 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.3215, allocations: 5.469 kB / 0.5206 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.3215, allocations: 0 / 0.5206 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-06/0.3215, allocations: 1.5 kB / 0.5206 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.3219, allocations: 206 kB / 0.5208 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.3219, allocations: 7.922 kB / 0.5208 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.322, allocations: 1.312 kB / 0.5208 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3222, allocations: 152.2 kB / 0.5209 GB, free: 2.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3223, allocations: 0 / 0.5209 GB, free: 2.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3223, allocations: 1.156 kB / 0.521 GB, free: 2.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3223, allocations: 0 / 0.521 GB, free: 2.875 MB / 382.1 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.000289/0.3226, allocations: 373.2 kB / 0.5213 GB, free: 2.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3226, allocations: 9.516 kB / 0.5213 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.3226, allocations: 0.9375 kB / 0.5213 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.3227, allocations: 162.6 kB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3227, allocations: 384 / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3227, allocations: 6.219 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.24e-05/0.3228, allocations: 32.95 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3228, allocations: 0.8906 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3228, allocations: 5.031 kB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3228, allocations: 0 / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.3229, allocations: 2.875 kB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.9e-05/0.323, allocations: 148.5 kB / 0.5217 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.971e-05/0.323, allocations: 15.61 kB / 0.5217 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.323, allocations: 14.86 kB / 0.5217 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.323, allocations: 1 kB / 0.5217 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3231, allocations: 58.17 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3231, allocations: 0 / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.3232, allocations: 69.81 kB / 0.5218 GB, free: 1.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.3232, allocations: 77.81 kB / 0.5219 GB, free: 1.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.3233, allocations: 90.98 kB / 0.522 GB, free: 1.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.3233, allocations: 29.83 kB / 0.522 GB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.326e-06/0.3233, allocations: 80.14 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3233, allocations: 1.844 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.3234, allocations: 19.88 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.3234, allocations: 312.7 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.3234, allocations: 0.75 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.3234, allocations: 6 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.3235, allocations: 64.73 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3235, allocations: 0 / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.592e-05/0.3235, allocations: 63.92 kB / 0.5225 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3236, allocations: 36.3 kB / 0.5226 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3236, allocations: 0.8438 kB / 0.5226 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3236, allocations: 3.938 kB / 0.5226 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.3236, allocations: 1.094 kB / 0.5226 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3236, allocations: 0 / 0.5226 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.3236, allocations: 9.547 kB / 0.5226 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3236, allocations: 1.062 kB / 0.5226 GB, free: 1.027 MB / 382.1 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 4.682e-05/0.3237, allocations: 139 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.3237, allocations: 1.062 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-06/0.3237, allocations: 11.62 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3237, allocations: 4.453 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3237, allocations: 1.125 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.3238, allocations: 77.77 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3238, allocations: 1.891 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.3238, allocations: 1 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.3238, allocations: 0.6094 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.262e-05/0.3239, allocations: 198.4 kB / 0.523 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.994e-05/0.324, allocations: 246.3 kB / 0.5232 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.648e-05/0.324, allocations: 3.25 kB / 0.5232 GB, free: 320 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.012e-05/0.324, allocations: 75.28 kB / 0.5233 GB, free: 244 kB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.324, allocations: 0 / 0.5233 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.3247, allocations: 229.2 kB / 0.5235 GB, free: 88 kB / 382.1 MB Notification: Performance of SimCode: time 0.0003384/0.325, allocations: 0.5849 MB / 0.5241 GB, free: 15.45 MB / 398.1 MB Notification: Performance of Templates: time 0.00457/0.3296, allocations: 1.583 MB / 0.5256 GB, free: 15.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches