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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 62.44 MB / 0.5306 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001658/0.3581, allocations: 498.4 kB / 0.5311 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.359, allocations: 366.6 kB / 0.5314 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3591, allocations: 1.125 kB / 0.5314 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.3591, allocations: 3.938 kB / 0.5314 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3591, allocations: 0 / 0.5314 GB, free: 12.6 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.0008078/0.3599, allocations: 199.2 kB / 0.5316 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.887e-05/0.36, allocations: 5.203 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.36, allocations: 9.422 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.36, allocations: 1.469 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.3601, allocations: 0 / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-06/0.3601, allocations: 0 / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.3604, allocations: 189.5 kB / 0.5318 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3605, allocations: 3.984 kB / 0.5318 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.3605, allocations: 1.562 kB / 0.5318 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3607, allocations: 143.1 kB / 0.532 GB, free: 12.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3608, allocations: 9.5 kB / 0.532 GB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3608, allocations: 0 / 0.532 GB, free: 12.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3608, allocations: 3.938 kB / 0.532 GB, free: 12.28 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.0004266/0.3612, allocations: 363.8 kB / 0.5323 GB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3613, allocations: 14.42 kB / 0.5323 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.3613, allocations: 30.75 kB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3613, allocations: 0.9375 kB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3615, allocations: 165.4 kB / 0.5325 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3615, allocations: 384 / 0.5325 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.3615, allocations: 1.719 kB / 0.5325 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.3616, allocations: 32.89 kB / 0.5326 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3616, allocations: 3.938 kB / 0.5326 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3616, allocations: 5.188 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3616, allocations: 0 / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.3616, allocations: 1.406 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.3618, allocations: 151.1 kB / 0.5327 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.3619, allocations: 20.11 kB / 0.5327 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.3619, allocations: 10.2 kB / 0.5327 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3619, allocations: 0 / 0.5327 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.362, allocations: 57.83 kB / 0.5328 GB, free: 11.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.362, allocations: 0 / 0.5328 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000168/0.3622, allocations: 75.56 kB / 0.5329 GB, free: 11.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3622, allocations: 77.11 kB / 0.5329 GB, free: 11.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.3623, allocations: 95.8 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3623, allocations: 25.7 kB / 0.5331 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3624, allocations: 84.27 kB / 0.5331 GB, free: 10.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.3624, allocations: 3.938 kB / 0.5331 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.3624, allocations: 11.56 kB / 0.5332 GB, free: 10.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3626, allocations: 316.5 kB / 0.5335 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.3626, allocations: 0 / 0.5335 GB, free: 10.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-06/0.3626, allocations: 1.844 kB / 0.5335 GB, free: 10.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.3626, allocations: 64.08 kB / 0.5335 GB, free: 10.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3626, allocations: 4.062 kB / 0.5335 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.223e-05/0.3627, allocations: 66.53 kB / 0.5336 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.3628, allocations: 35.06 kB / 0.5336 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3628, allocations: 3.938 kB / 0.5336 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3628, allocations: 3.984 kB / 0.5336 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.3628, allocations: 1.75 kB / 0.5336 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3628, allocations: 0 / 0.5336 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.3628, allocations: 0 / 0.5336 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3628, allocations: 1.812 kB / 0.5336 GB, free: 10.37 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 0.0001136/0.363, allocations: 141.4 kB / 0.5338 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.363, allocations: 1.75 kB / 0.5338 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-06/0.363, allocations: 7.062 kB / 0.5338 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.363, allocations: 0 / 0.5338 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.363, allocations: 0 / 0.5338 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.363, allocations: 5.797 kB / 0.5338 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3631, allocations: 145.7 kB / 0.5339 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3631, allocations: 1.812 kB / 0.5339 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3631, allocations: 0 / 0.5339 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3631, allocations: 0 / 0.5339 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.3631, allocations: 9.75 kB / 0.5339 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3632, allocations: 0 / 0.5339 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3632, allocations: 0 / 0.5339 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.3633, allocations: 97.42 kB / 0.534 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.3633, allocations: 77.11 kB / 0.5341 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.3633, allocations: 5.75 kB / 0.5341 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.3633, allocations: 0 / 0.5341 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.3634, allocations: 5.766 kB / 0.5341 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3634, allocations: 4.031 kB / 0.5341 GB, free: 9.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.3634, allocations: 77.09 kB / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.3634, allocations: 0 / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3637, allocations: 55.19 kB / 0.5342 GB, free: 9.707 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.0007305/0.3644, allocations: 0.7204 MB / 0.5349 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.3645, allocations: 63.47 kB / 0.535 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3646, allocations: 1.375 kB / 0.535 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.3646, allocations: 54.16 kB / 0.5351 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3647, allocations: 3.562 kB / 0.5351 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3651, allocations: 121.9 kB / 0.5352 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3654, allocations: 0.6782 MB / 0.5358 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.56e-06/0.3654, allocations: 0 / 0.5358 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.3654, allocations: 10.19 kB / 0.5358 GB, free: 8.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3654, allocations: 0 / 0.5358 GB, free: 8.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.3892, allocations: 2.425 MB / 0.5382 GB, free: 6.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.338, allocations: 2.109 kB / 0.5382 GB, free: 6.68 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches