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.0009945/0.0009946, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 75.88 kB / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001456/0.3268, allocations: 480 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.3301, allocations: 2.412 MB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.3301, allocations: 0 / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.3302, allocations: 4 kB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.3302, allocations: 3.938 kB / 0.5344 GB, free: 11.34 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.002544/0.3327, allocations: 1.14 MB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.3328, allocations: 6.188 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.3328, allocations: 5.047 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.3328, allocations: 4.969 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.593e-05/0.3329, allocations: 4 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-06/0.3329, allocations: 1.062 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.3343, allocations: 1.034 MB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.3344, allocations: 1.219 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3344, allocations: 0 / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.3349, allocations: 447.1 kB / 0.537 GB, free: 9.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.335, allocations: 1.031 kB / 0.537 GB, free: 9.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.335, allocations: 0 / 0.537 GB, free: 9.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.335, allocations: 0 / 0.537 GB, free: 9.797 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.000396/0.3354, allocations: 436.4 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3354, allocations: 8.719 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3354, allocations: 6.125 kB / 0.5374 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.3355, allocations: 164.2 kB / 0.5376 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3356, allocations: 4.312 kB / 0.5376 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.3356, allocations: 1.594 kB / 0.5376 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.3357, allocations: 36.41 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.3357, allocations: 0 / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3357, allocations: 0.9375 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3357, allocations: 7.938 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.3357, allocations: 2.156 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.3358, allocations: 142.8 kB / 0.5378 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.3359, allocations: 28.8 kB / 0.5378 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.3359, allocations: 5.828 kB / 0.5378 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.3359, allocations: 0 / 0.5378 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.336, allocations: 69.19 kB / 0.5379 GB, free: 8.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.336, allocations: 1.156 kB / 0.5379 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.3361, allocations: 58.19 kB / 0.5379 GB, free: 8.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3362, allocations: 78.14 kB / 0.538 GB, free: 8.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.896e-05/0.3362, allocations: 93.86 kB / 0.5381 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3362, allocations: 26.8 kB / 0.5381 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.3362, allocations: 84.12 kB / 0.5382 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3363, allocations: 5.078 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.3363, allocations: 12.38 kB / 0.5382 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.3364, allocations: 314.8 kB / 0.5385 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.3364, allocations: 5.406 kB / 0.5385 GB, free: 8.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.3364, allocations: 1.188 kB / 0.5385 GB, free: 8.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.3365, allocations: 62.67 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3365, allocations: 1.031 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.291e-05/0.3365, allocations: 62.64 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3366, allocations: 34.2 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3366, allocations: 9.406 kB / 0.5387 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.3366, allocations: 0 / 0.5387 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.3366, allocations: 4 kB / 0.5387 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3366, allocations: 1.5 kB / 0.5387 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.3366, allocations: 0 / 0.5387 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3366, allocations: 1.156 kB / 0.5387 GB, free: 7.891 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 7.336e-05/0.3367, allocations: 140.8 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.3367, allocations: 1.25 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.3367, allocations: 8.062 kB / 0.5388 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3368, allocations: 4 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3368, allocations: 0 / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.3368, allocations: 82.64 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3368, allocations: 4 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.3368, allocations: 1.812 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.3368, allocations: 3.938 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001018/0.3369, allocations: 191.5 kB / 0.5391 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001321/0.3371, allocations: 248 kB / 0.5394 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.551e-05/0.3371, allocations: 5.469 kB / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.3371, allocations: 75.28 kB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3372, allocations: 0 / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.338, allocations: 414.9 kB / 0.5398 GB, free: 6.844 MB / 398.1 MB Notification: Performance of SimCode: time 0.0002857/0.3383, allocations: 0.5823 MB / 0.5404 GB, free: 6.207 MB / 398.1 MB Notification: Performance of Templates: time 0.007433/0.3458, allocations: 4.625 MB / 0.5449 GB, free: 3.688 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