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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.94 MB / 361.5 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 75.88 kB / 0.4974 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2675, allocations: 66.08 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001603/0.2691, allocations: 473 kB / 0.5624 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.2727, allocations: 2.45 MB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.2727, allocations: 0 / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.2727, allocations: 0 / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.2727, allocations: 0 / 0.5648 GB, free: 1.305 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.002713/0.2754, allocations: 1.159 MB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.2754, allocations: 7.938 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.2755, allocations: 3.984 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.2755, allocations: 0 / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.2755, allocations: 4 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.2755, allocations: 0 / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.2771, allocations: 1.042 MB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-06/0.2771, allocations: 0 / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.2772, allocations: 0 / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.2778, allocations: 449.5 kB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2778, allocations: 0 / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2778, allocations: 0 / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.2778, allocations: 0 / 0.5674 GB, free: 14.65 MB / 414.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.0004342/0.2783, allocations: 363.3 kB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2783, allocations: 8.031 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2783, allocations: 12.88 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.977e-05/0.2784, allocations: 102.5 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2784, allocations: 4.312 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.2784, allocations: 384 / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.2785, allocations: 38.02 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2785, allocations: 0 / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2785, allocations: 0 / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2785, allocations: 0 / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.2786, allocations: 7.984 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.2787, allocations: 120.7 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.703e-05/0.2787, allocations: 22.45 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.2787, allocations: 8.953 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.2787, allocations: 4 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.2788, allocations: 60.2 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2788, allocations: 0 / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.279, allocations: 67.5 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.279, allocations: 85.05 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.638e-05/0.2791, allocations: 93.81 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2791, allocations: 25.7 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.2791, allocations: 84.14 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2791, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.2792, allocations: 9.719 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2793, allocations: 314.8 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.2793, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.2793, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.2793, allocations: 60.27 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2793, allocations: 0 / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.7e-05/0.2794, allocations: 63.41 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.2795, allocations: 39.66 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2795, allocations: 3.984 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2795, allocations: 3.938 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.2795, allocations: 0 / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2795, allocations: 4.094 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.2795, allocations: 4 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2795, allocations: 3.984 kB / 0.5689 GB, free: 12.83 MB / 414.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 8.947e-05/0.2796, allocations: 132.9 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2796, allocations: 7.938 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-06/0.2796, allocations: 3 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.2796, allocations: 3.938 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2796, allocations: 3.984 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2796, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/0.2797, allocations: 124.8 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2797, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.2797, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2797, allocations: 3.938 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2797, allocations: 4 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2797, allocations: 0 / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2797, allocations: 0 / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2798, allocations: 94.77 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.2798, allocations: 4.031 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.2798, allocations: 7.938 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.2799, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-06/0.2799, allocations: 7.922 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.2799, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.2799, allocations: 75.28 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2799, allocations: 0 / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.2803, allocations: 159.5 kB / 0.5695 GB, free: 12.12 MB / 414.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.0006951/0.281, allocations: 383.5 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.2811, allocations: 63.39 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2811, allocations: 4.062 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.2812, allocations: 51.41 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.2813, allocations: 4 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.2815, allocations: 118.6 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2817, allocations: 0.669 MB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.2818, allocations: 7.438 kB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2818, allocations: 0 / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006625/0.2884, allocations: 3.924 MB / 0.5746 GB, free: 6.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.632374313892797]