Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001249/0.001249, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004188/0.004188, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8875/0.8875, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 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.2481/0.2481, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 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.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.346e-05, allocations: 4.812 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.1792/0.1793, allocations: 8.24 MB / 451.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.1822, allocations: 2.719 MB / 454.4 MB, free: 37.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.1827, allocations: 88.84 kB / 454.5 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.1854, allocations: 3.698 MB / 458.2 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1868, allocations: 1.106 MB / 459.3 MB, free: 35.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.1876, allocations: 0.7612 MB / 460 MB, free: 34.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.1899, allocations: 5.055 MB / 465.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005113/0.195, allocations: 7.711 MB / 472.8 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.1978, allocations: 4.202 MB / 477 MB, free: 25.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1998, allocations: 2.772 MB / 479.8 MB, free: 24.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.2004, allocations: 0.7633 MB / 480.5 MB, free: 24.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.2015, allocations: 0.9207 MB / 481.4 MB, free: 24.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008753/0.2024, allocations: 1.638 MB / 483.1 MB, free: 23.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.2042, allocations: 2.017 MB / 485.1 MB, free: 22.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.2143, allocations: 10.58 MB / 495.7 MB, free: 18.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2143, allocations: 1.344 kB / 495.7 MB, free: 18.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2143, allocations: 0 / 495.7 MB, free: 18.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002761/0.2146, allocations: 0 / 495.7 MB, free: 18.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01359/0.2282, allocations: 6.286 MB / 0.4902 GB, free: 15.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2282, allocations: 8.156 kB / 0.4902 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.2391, allocations: 3.903 MB / 0.494 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.2436, allocations: 3.273 MB / 0.4972 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.2438, allocations: 388.4 kB / 0.4976 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006669/0.2445, allocations: 0.4969 MB / 0.4981 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.2548, allocations: 8.703 MB / 0.5066 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-05/0.2549, allocations: 11.94 kB / 0.5066 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.2553, allocations: 212 kB / 0.5068 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.2555, allocations: 339.1 kB / 0.5071 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007999/0.2635, allocations: 8.003 MB / 0.5149 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.288, allocations: 22 MB / 0.5364 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005774/0.2938, allocations: 4.557 MB / 0.5409 GB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.2952, allocations: 1.477 MB / 0.5423 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.2953, allocations: 61.89 kB / 0.5424 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2954, allocations: 56.56 kB / 0.5424 GB, free: 15.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 4.498e-06/0.2954, allocations: 4 kB / 0.5424 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.003762/0.2991, allocations: 3.457 MB / 0.5458 GB, free: 12.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2992, allocations: 103.1 kB / 0.5459 GB, free: 12.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3009, allocations: 1.992 MB / 0.5478 GB, free: 10.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/0.301, allocations: 57.7 kB / 0.5479 GB, free: 10.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/0.3018, allocations: 2.268 MB / 0.5501 GB, free: 7.918 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3022, allocations: 0.7632 MB / 0.5509 GB, free: 7.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/0.3029, allocations: 0.703 MB / 0.5515 GB, free: 6.438 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.3029, allocations: 309.1 kB / 0.5518 GB, free: 6.133 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.3047, allocations: 1.564 MB / 0.5534 GB, free: 4.566 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.3069, allocations: 3.183 MB / 0.5565 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.311, allocations: 5.087 MB / 0.5614 GB, free: 10.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.311, allocations: 16 kB / 0.5615 GB, free: 10.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005017/0.316, allocations: 4.878 MB / 0.5662 GB, free: 5.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.316, allocations: 28 kB / 0.5663 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/0.3161, allocations: 56 kB / 0.5663 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.967e-05/0.3161, allocations: 83.94 kB / 0.5664 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.3178, allocations: 0.9171 MB / 0.5673 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.903e-05/0.3178, allocations: 115.6 kB / 0.5674 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3193, allocations: 477 kB / 0.5678 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3195, allocations: 195.9 kB / 0.568 GB, free: 3.988 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * 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.002652/0.3221, allocations: 2.077 MB / 0.5701 GB, free: 1.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.3223, allocations: 202.7 kB / 0.5703 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3257, allocations: 3.099 MB / 0.5733 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3258, allocations: 27.94 kB / 0.5733 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3258, allocations: 0 / 0.5733 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.3258, allocations: 15.95 kB / 0.5733 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008021/0.3338, allocations: 7.556 MB / 0.5807 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.3338, allocations: 19.98 kB / 0.5807 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.3349, allocations: 0.5655 MB / 0.5813 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.3349, allocations: 31.94 kB / 0.5813 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/0.335, allocations: 79.97 kB / 0.5814 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/0.335, allocations: 31.92 kB / 0.5814 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.335, allocations: 28.12 kB / 0.5814 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.3397, allocations: 5.151 MB / 0.5865 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/0.3404, allocations: 497.8 kB / 0.5869 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.3405, allocations: 63.94 kB / 0.587 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.3411, allocations: 127.9 kB / 0.5871 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.3413, allocations: 233.2 kB / 0.5873 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.3414, allocations: 95.92 kB / 0.5874 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001202/0.3426, allocations: 1.298 MB / 0.5887 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3426, allocations: 0 / 0.5887 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002854/0.3455, allocations: 1.199 MB / 0.5899 GB, free: 12.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * 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.0003366/0.3458, allocations: 242.2 kB / 0.5901 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003883/0.3497, allocations: 3.469 MB / 0.5935 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.3497, allocations: 4 kB / 0.5935 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.3511, allocations: 1.467 MB / 0.5949 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.3526, allocations: 482.5 kB / 0.5954 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3628, allocations: 8.923 MB / 0.6041 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.3652, allocations: 3.021 MB / 0.6071 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.3658, allocations: 260.4 kB / 0.6073 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/0.3658, allocations: 0 / 0.6073 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.2433/0.6091, allocations: 56.08 MB / 0.6621 GB, free: 146.7 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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: 8.150996101088822]