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.001271/0.001271, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001388/0.001388, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9614/0.9614, allocations: 177 MB / 204.8 MB, free: 5.613 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.2465/0.2465, allocations: 34.86 MB / 296.3 MB, free: 0.5781 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.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.724e-05, allocations: 2.312 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007336/0.007353, allocations: 9.157 MB / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.01183, allocations: 2.78 MB / 390.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.01267, allocations: 87.56 kB / 390.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003879/0.01655, allocations: 4.018 MB / 394.8 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.01858, allocations: 1.103 MB / 395.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.01958, allocations: 0.7747 MB / 396.7 MB, free: 132 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003506/0.02308, allocations: 5.045 MB / 401.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007501/0.03058, allocations: 7.723 MB / 409.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.03453, allocations: 4.232 MB / 413.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.0376, allocations: 3.135 MB / 416.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.03877, allocations: 0.7656 MB / 417.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.03984, allocations: 0.9331 MB / 418.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008246/0.04066, allocations: 1.66 MB / 420.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.04227, allocations: 2.035 MB / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.04616, allocations: 5.208 MB / 427.4 MB, free: 1.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.04616, allocations: 3.938 kB / 427.4 MB, free: 1.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04616, allocations: 0 / 427.4 MB, free: 1.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.829e-05/0.04625, allocations: 0 / 427.4 MB, free: 1.207 MB / 394.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.008624/0.05487, allocations: 6.846 MB / 434.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.05492, allocations: 8.031 kB / 434.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.06614, allocations: 4.73 MB / 439 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.07046, allocations: 3.01 MB / 442 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.07065, allocations: 394.5 kB / 442.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006489/0.0713, allocations: 0.496 MB / 442.9 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1489/0.2202, allocations: 4.558 MB / 447.4 MB, free: 79.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.2204, allocations: 3.781 kB / 447.5 MB, free: 79.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00293/0.2233, allocations: 213.5 kB / 447.7 MB, free: 79.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/0.2236, allocations: 342.6 kB / 448 MB, free: 79.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007042/0.2306, allocations: 2.534 MB / 450.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.2526, allocations: 19.85 MB / 470.4 MB, free: 70.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.2576, allocations: 3.971 MB / 474.3 MB, free: 69.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.2585, allocations: 0.7129 MB / 475.1 MB, free: 69.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.2586, allocations: 68.56 kB / 475.1 MB, free: 69.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2586, allocations: 65.27 kB / 475.2 MB, free: 69.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 5.54e-06/0.2586, allocations: 0 / 475.2 MB, free: 69.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.002149/0.2608, allocations: 1.521 MB / 476.7 MB, free: 68.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2608, allocations: 98.86 kB / 476.8 MB, free: 68.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.2626, allocations: 1.879 MB / 478.7 MB, free: 67.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.2627, allocations: 57.58 kB / 478.7 MB, free: 67.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.2635, allocations: 2.435 MB / 481.2 MB, free: 66.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.2639, allocations: 0.7985 MB / 482 MB, free: 65.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/0.2646, allocations: 0.7991 MB / 482.8 MB, free: 65.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.2646, allocations: 481.9 kB / 483.2 MB, free: 64.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.2654, allocations: 427.2 kB / 483.7 MB, free: 64.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.2668, allocations: 2.862 MB / 486.5 MB, free: 61.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.2695, allocations: 3.646 MB / 490.2 MB, free: 58.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.2695, allocations: 15.22 kB / 490.2 MB, free: 58.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003685/0.2732, allocations: 2.775 MB / 493 MB, free: 57.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.2732, allocations: 32.03 kB / 493 MB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.658e-05/0.2733, allocations: 56.41 kB / 493 MB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.692e-05/0.2734, allocations: 77.16 kB / 493.1 MB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.275, allocations: 0.9122 MB / 494 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-05/0.2751, allocations: 113.3 kB / 494.1 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2764, allocations: 473.8 kB / 494.6 MB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.2765, allocations: 193.8 kB / 494.8 MB, free: 57.17 MB / 410.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.000933/0.2775, allocations: 418.3 kB / 495.2 MB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.2777, allocations: 269 kB / 495.5 MB, free: 56.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.2799, allocations: 1.801 MB / 497.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.2799, allocations: 21 kB / 497.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2799, allocations: 7.531 kB / 497.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.2799, allocations: 12.42 kB / 497.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/0.2872, allocations: 6.695 MB / 0.4922 GB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.2872, allocations: 16.47 kB / 0.4922 GB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.2883, allocations: 0.5605 MB / 0.4928 GB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.2883, allocations: 30.97 kB / 0.4928 GB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.2884, allocations: 78.25 kB / 0.4929 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.2884, allocations: 33.34 kB / 0.4929 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.2885, allocations: 30.11 kB / 0.4929 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.2912, allocations: 3.002 MB / 0.4959 GB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.2917, allocations: 453.2 kB / 0.4963 GB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.2919, allocations: 75.84 kB / 0.4964 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.2925, allocations: 112.8 kB / 0.4965 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.2928, allocations: 237.2 kB / 0.4967 GB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/0.2928, allocations: 97.92 kB / 0.4968 GB, free: 50.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009049/0.2937, allocations: 0.8335 MB / 0.4976 GB, free: 50 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2937, allocations: 0 / 0.4976 GB, free: 50 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002484/0.2962, allocations: 1.193 MB / 0.4988 GB, free: 48.84 MB / 410.7 MB 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.0003201/0.2965, allocations: 226.3 kB / 0.499 GB, free: 48.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.2989, allocations: 1.919 MB / 0.5009 GB, free: 47.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2989, allocations: 4.062 kB / 0.5009 GB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.2997, allocations: 0.821 MB / 0.5017 GB, free: 46.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.3011, allocations: 0.5177 MB / 0.5022 GB, free: 46.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.309, allocations: 7.765 MB / 0.5097 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009865/0.31, allocations: 1.426 MB / 0.5111 GB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001807/0.3118, allocations: 1.18 MB / 0.5123 GB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.3124, allocations: 227.2 kB / 0.5125 GB, free: 36.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3124, allocations: 4 kB / 0.5125 GB, free: 36.67 MB / 410.7 MB Notification: Performance of Templates: time 0.04193/0.3543, allocations: 32.16 MB / 0.5439 GB, free: 6.246 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8375579291023314]