Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009977, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4462, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001665/0.4479, allocations: 490.5 kB / 0.5314 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.4488, allocations: 382.7 kB / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.4488, allocations: 0 / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.4489, allocations: 0 / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.4489, allocations: 3.938 kB / 0.5318 GB, free: 12.95 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007755/0.4497, allocations: 187.4 kB / 0.532 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.4497, allocations: 9.281 kB / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.4498, allocations: 1.312 kB / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.4498, allocations: 3.938 kB / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.816e-05/0.4498, allocations: 1.312 kB / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.4498, allocations: 0 / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.4502, allocations: 197.7 kB / 0.5322 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-06/0.4502, allocations: 4 kB / 0.5322 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.4502, allocations: 0.9375 kB / 0.5322 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.4505, allocations: 145 kB / 0.5323 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4505, allocations: 0 / 0.5323 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4505, allocations: 3.938 kB / 0.5323 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4505, allocations: 1.281 kB / 0.5323 GB, free: 12.62 MB / 398.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.0003813/0.4509, allocations: 363.6 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.451, allocations: 8.844 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.451, allocations: 6.125 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.4511, allocations: 160.4 kB / 0.5329 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4511, allocations: 1.469 kB / 0.5329 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4511, allocations: 384 / 0.5329 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.4512, allocations: 33.5 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4513, allocations: 192 / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4513, allocations: 7.875 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4513, allocations: 1.156 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.4513, allocations: 5.156 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.4515, allocations: 146.8 kB / 0.533 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.4515, allocations: 16.73 kB / 0.5331 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.4515, allocations: 6.047 kB / 0.5331 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.4516, allocations: 3.984 kB / 0.5331 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4516, allocations: 61.36 kB / 0.5331 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.4516, allocations: 1.125 kB / 0.5331 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.4518, allocations: 66.19 kB / 0.5332 GB, free: 11.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4519, allocations: 82.42 kB / 0.5333 GB, free: 11.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.815e-05/0.4519, allocations: 89.86 kB / 0.5334 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4519, allocations: 30.84 kB / 0.5334 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.452, allocations: 80.14 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.452, allocations: 1.188 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.452, allocations: 14.88 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4522, allocations: 315.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.4522, allocations: 1.219 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.4522, allocations: 5.438 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.4522, allocations: 63.02 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4522, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.348e-05/0.4523, allocations: 66.42 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4524, allocations: 35.02 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4524, allocations: 1.406 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4524, allocations: 3.938 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4524, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4524, allocations: 1.344 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.4524, allocations: 4 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4524, allocations: 1.25 kB / 0.534 GB, free: 10.77 MB / 398.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 9.115e-05/0.4525, allocations: 146.1 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.4525, allocations: 0 / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.4526, allocations: 8.25 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.4526, allocations: 0 / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4526, allocations: 0 / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4526, allocations: 1.375 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.4527, allocations: 150.9 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4527, allocations: 0 / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.4527, allocations: 3.984 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.4527, allocations: 1.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4527, allocations: 4.969 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4527, allocations: 3.938 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4527, allocations: 1.125 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.4528, allocations: 89.83 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.4529, allocations: 89.05 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.4529, allocations: 5.125 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.4529, allocations: 1.094 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.4529, allocations: 0 / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4529, allocations: 1.344 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.171e-05/0.453, allocations: 75.28 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.453, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.4533, allocations: 56.17 kB / 0.5346 GB, free: 10.1 MB / 398.1 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.0004186/0.4537, allocations: 201.4 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4538, allocations: 63.92 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4538, allocations: 1.594 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.4539, allocations: 54.47 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.454, allocations: 1.469 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.4542, allocations: 80.83 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4544, allocations: 0.6779 MB / 0.5356 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.4544, allocations: 0 / 0.5356 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.4545, allocations: 9.562 kB / 0.5356 GB, free: 9.023 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4545, allocations: 0 / 0.5356 GB, free: 9.023 MB / 398.1 MB Notification: Performance of Templates: time 0.005171/0.4596, allocations: 1.516 MB / 0.5371 GB, free: 8.234 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches