Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 109.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3657/0.3657, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3726, allocations: 62.02 MB / 0.5151 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001865/0.3746, allocations: 0.542 MB / 0.5157 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3776, allocations: 2.454 MB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.3777, allocations: 3.938 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.3777, allocations: 4 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-06/0.3777, allocations: 3.938 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function ‘ModelicaTest.ComplexMath.ComplexFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.3799, allocations: 1.048 MB / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.675e-05/0.3799, allocations: 6.688 kB / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.38, allocations: 3.234 kB / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.38, allocations: 3.031 kB / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.38, allocations: 0 / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.38, allocations: 0 / 0.5191 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.3813, allocations: 1.008 MB / 0.5201 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.3814, allocations: 0 / 0.5201 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.3814, allocations: 4 kB / 0.5201 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3819, allocations: 444.3 kB / 0.5205 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3819, allocations: 0 / 0.5205 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3819, allocations: 0 / 0.5205 GB, free: 34.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3819, allocations: 0 / 0.5205 GB, free: 34.79 MB / 378.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.0003444/0.3822, allocations: 439.7 kB / 0.5209 GB, free: 34.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3823, allocations: 11.75 kB / 0.521 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3823, allocations: 0.9375 kB / 0.521 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.202e-05/0.3824, allocations: 160.4 kB / 0.5211 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.3824, allocations: 384 / 0.5211 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3824, allocations: 8.312 kB / 0.5211 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.3825, allocations: 44.06 kB / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3825, allocations: 0 / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3825, allocations: 0 / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3825, allocations: 6.969 kB / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.3826, allocations: 0 / 0.5212 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.517e-05/0.3827, allocations: 141.7 kB / 0.5213 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.964e-05/0.3827, allocations: 20.94 kB / 0.5213 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.3827, allocations: 19.61 kB / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.3827, allocations: 0 / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3828, allocations: 68.14 kB / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3828, allocations: 0 / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.3829, allocations: 62.39 kB / 0.5215 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.383, allocations: 77.11 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.383, allocations: 92.61 kB / 0.5216 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.383, allocations: 29.83 kB / 0.5217 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/0.383, allocations: 80.14 kB / 0.5217 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3831, allocations: 7.984 kB / 0.5217 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.3831, allocations: 12.22 kB / 0.5217 GB, free: 33.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.3831, allocations: 310.8 kB / 0.522 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.3832, allocations: 10.06 kB / 0.5221 GB, free: 33.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.3832, allocations: 0 / 0.5221 GB, free: 33.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.3832, allocations: 59.02 kB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3832, allocations: 4 kB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.973e-05/0.3833, allocations: 66.84 kB / 0.5222 GB, free: 32.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3833, allocations: 35.23 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3833, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3833, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3833, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3833, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.3833, allocations: 2.844 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3834, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.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.347e-05/0.3834, allocations: 143.2 kB / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.3834, allocations: 7.359 kB / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-06/0.3834, allocations: 6.719 kB / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.3835, allocations: 0 / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3835, allocations: 2.594 kB / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3835, allocations: 0 / 0.5224 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.248e-05/0.3835, allocations: 148.9 kB / 0.5225 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3835, allocations: 2.594 kB / 0.5225 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3835, allocations: 0 / 0.5225 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3835, allocations: 3.938 kB / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3836, allocations: 4 kB / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3836, allocations: 0 / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3836, allocations: 2.875 kB / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.3838, allocations: 0.6412 MB / 0.5231 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.3838, allocations: 81.05 kB / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3838, allocations: 2.688 kB / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.3838, allocations: 4 kB / 0.5232 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3838, allocations: 4 kB / 0.5232 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3839, allocations: 6.688 kB / 0.5232 GB, free: 31.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.304e-05/0.3839, allocations: 75.28 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.3844, allocations: 167.6 kB / 0.5235 GB, free: 31.62 MB / 378.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.0007731/0.3852, allocations: 386.9 kB / 0.5238 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3853, allocations: 62.22 kB / 0.5239 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3853, allocations: 0 / 0.5239 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.3854, allocations: 64.16 kB / 0.524 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3855, allocations: 9.984 kB / 0.524 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.3858, allocations: 173.6 kB / 0.5241 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.3859, allocations: 0.6745 MB / 0.5248 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.933e-06/0.3859, allocations: 0 / 0.5248 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-06/0.3859, allocations: 7.438 kB / 0.5248 GB, free: 30.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3859, allocations: 6.25 kB / 0.5248 GB, free: 30.39 MB / 378.7 MB Notification: Performance of Templates: time 0.007495/0.3934, allocations: 4.602 MB / 0.5293 GB, free: 29.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches