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/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.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/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 75.88 kB / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3303, allocations: 62.43 MB / 0.5316 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001448/0.3318, allocations: 483 kB / 0.5321 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.3352, allocations: 2.414 MB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.3352, allocations: 0 / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.3353, allocations: 0 / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.3353, allocations: 0 / 0.5344 GB, free: 11.57 MB / 398.1 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.002744/0.338, allocations: 1.148 MB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.3381, allocations: 2.406 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3381, allocations: 1.281 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.3382, allocations: 3.938 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.45e-05/0.3382, allocations: 5.328 kB / 0.5356 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.3382, allocations: 0 / 0.5356 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3398, allocations: 1.034 MB / 0.5366 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.3398, allocations: 5.25 kB / 0.5366 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.3399, allocations: 0 / 0.5366 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.3405, allocations: 443 kB / 0.537 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3405, allocations: 0.875 kB / 0.537 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3405, allocations: 0 / 0.537 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3405, allocations: 0 / 0.537 GB, free: 10.02 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.0004582/0.341, allocations: 440 kB / 0.5374 GB, free: 9.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.341, allocations: 9.531 kB / 0.5374 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3411, allocations: 0.9375 kB / 0.5374 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3412, allocations: 163.3 kB / 0.5376 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3412, allocations: 8.359 kB / 0.5376 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3412, allocations: 1.562 kB / 0.5376 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.3413, allocations: 36.17 kB / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3414, allocations: 0 / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3414, allocations: 1.156 kB / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3414, allocations: 3.938 kB / 0.5376 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.3414, allocations: 5.203 kB / 0.5377 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.3415, allocations: 150.8 kB / 0.5378 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.3416, allocations: 24.89 kB / 0.5378 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.3416, allocations: 5.953 kB / 0.5378 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3416, allocations: 1.156 kB / 0.5378 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.3417, allocations: 65.39 kB / 0.5379 GB, free: 9.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3417, allocations: 0 / 0.5379 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.3419, allocations: 66.3 kB / 0.538 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3419, allocations: 78.45 kB / 0.538 GB, free: 8.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.342, allocations: 93.86 kB / 0.5381 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.342, allocations: 26.83 kB / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.3421, allocations: 80.14 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3421, allocations: 1.062 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.3421, allocations: 11.94 kB / 0.5382 GB, free: 8.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3422, allocations: 318.8 kB / 0.5385 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.3423, allocations: 5.188 kB / 0.5385 GB, free: 8.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-06/0.3423, allocations: 1.125 kB / 0.5385 GB, free: 8.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.3423, allocations: 67.7 kB / 0.5386 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3423, allocations: 4 kB / 0.5386 GB, free: 8.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.529e-05/0.3424, allocations: 58.53 kB / 0.5387 GB, free: 8.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.3425, allocations: 35.44 kB / 0.5387 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3425, allocations: 3.938 kB / 0.5387 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3425, allocations: 1.281 kB / 0.5387 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3425, allocations: 0 / 0.5387 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.3425, allocations: 0 / 0.5387 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.3425, allocations: 1.125 kB / 0.5387 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3425, allocations: 5.25 kB / 0.5387 GB, free: 8.109 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.065e-05/0.3426, allocations: 137.7 kB / 0.5388 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.3426, allocations: 0 / 0.5388 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.3427, allocations: 7.969 kB / 0.5388 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3427, allocations: 3.984 kB / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3427, allocations: 1 kB / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.3427, allocations: 81.02 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3427, allocations: 1 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.3427, allocations: 5.156 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.3428, allocations: 8.781 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001322/0.3429, allocations: 195.6 kB / 0.5391 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001411/0.3431, allocations: 234.8 kB / 0.5394 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.103e-05/0.3431, allocations: 10.27 kB / 0.5394 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.436e-05/0.3431, allocations: 75.34 kB / 0.5394 GB, free: 7.312 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3431, allocations: 5.125 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009437/0.3441, allocations: 430.1 kB / 0.5399 GB, free: 7.051 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003671/0.3445, allocations: 0.5745 MB / 0.5404 GB, free: 6.422 MB / 398.1 MB Notification: Performance of Templates: time 0.009061/0.3535, allocations: 4.625 MB / 0.5449 GB, free: 3.809 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches