Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 169.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.244e-05, allocations: 6.312 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.009463/0.009485, allocations: 9.109 MB / 387.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.01468, allocations: 2.788 MB / 389.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007027/0.01538, allocations: 83.62 kB / 390 MB, free: 6.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.01912, allocations: 3.998 MB / 394 MB, free: 2.941 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.02139, allocations: 1.103 MB / 395.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.02255, allocations: 0.7703 MB / 395.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.02621, allocations: 5.045 MB / 400.9 MB, free: 12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007456/0.03367, allocations: 7.719 MB / 408.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.03773, allocations: 4.232 MB / 412.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.04037, allocations: 3.1 MB / 416 MB, free: 12.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007092/0.04108, allocations: 0.7656 MB / 416.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.04217, allocations: 0.9292 MB / 417.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009226/0.04309, allocations: 1.66 MB / 419.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.0449, allocations: 2.035 MB / 421.3 MB, free: 7.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.04881, allocations: 5.216 MB / 426.6 MB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.04881, allocations: 0 / 426.6 MB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04881, allocations: 0 / 426.6 MB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.521e-05/0.04887, allocations: 0 / 426.6 MB, free: 2.18 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.008584/0.05745, allocations: 6.85 MB / 433.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.0575, allocations: 8.031 kB / 433.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.07073, allocations: 4.73 MB / 438.1 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.07523, allocations: 2.998 MB / 441.1 MB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.07552, allocations: 394.5 kB / 441.5 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.07654, allocations: 0.496 MB / 442 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1681/0.2447, allocations: 4.568 MB / 446.6 MB, free: 96.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.2448, allocations: 2.969 kB / 446.6 MB, free: 96.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004061/0.2452, allocations: 211.1 kB / 446.8 MB, free: 96.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/0.2454, allocations: 341 kB / 447.1 MB, free: 96.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.2504, allocations: 2.533 MB / 449.7 MB, free: 96.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.2679, allocations: 19.86 MB / 469.5 MB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.2732, allocations: 3.97 MB / 473.5 MB, free: 84.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009211/0.2741, allocations: 0.7088 MB / 474.2 MB, free: 84.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.2742, allocations: 73.39 kB / 474.3 MB, free: 84.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2743, allocations: 67.48 kB / 474.3 MB, free: 84.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.548e-06/0.2743, allocations: 0 / 474.3 MB, free: 84.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.002078/0.2764, allocations: 1.52 MB / 475.9 MB, free: 84.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2764, allocations: 104.9 kB / 476 MB, free: 83.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.278, allocations: 1.877 MB / 477.8 MB, free: 83.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.2781, allocations: 61.95 kB / 477.9 MB, free: 83.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009104/0.279, allocations: 2.433 MB / 480.3 MB, free: 81.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.2794, allocations: 0.7969 MB / 481.1 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007373/0.2801, allocations: 0.8035 MB / 481.9 MB, free: 80.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2802, allocations: 483.7 kB / 482.4 MB, free: 79.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.2809, allocations: 421.1 kB / 482.8 MB, free: 79.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.2826, allocations: 2.862 MB / 485.7 MB, free: 76.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.2854, allocations: 3.648 MB / 489.3 MB, free: 72.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/0.2854, allocations: 15.5 kB / 489.3 MB, free: 72.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003883/0.2893, allocations: 2.772 MB / 492.1 MB, free: 71.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.2893, allocations: 28.94 kB / 492.1 MB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/0.2894, allocations: 55.81 kB / 492.2 MB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.98e-05/0.2894, allocations: 80.52 kB / 492.3 MB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.2912, allocations: 0.9104 MB / 493.2 MB, free: 71.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.2913, allocations: 117.5 kB / 493.3 MB, free: 71.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.2927, allocations: 476.8 kB / 493.8 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.2928, allocations: 194.8 kB / 494 MB, free: 71.53 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.0008806/0.2937, allocations: 408 kB / 494.4 MB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.294, allocations: 266 kB / 494.6 MB, free: 71.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.2962, allocations: 1.804 MB / 496.4 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.2962, allocations: 21 kB / 496.4 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.2962, allocations: 3.938 kB / 496.4 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.2963, allocations: 15.03 kB / 496.5 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/0.3031, allocations: 6.692 MB / 0.4914 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.3031, allocations: 15.56 kB / 0.4914 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.3043, allocations: 0.5591 MB / 0.4919 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-05/0.3043, allocations: 28 kB / 0.4919 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.3044, allocations: 82.08 kB / 0.492 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-05/0.3045, allocations: 39.16 kB / 0.4921 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.3045, allocations: 23.88 kB / 0.4921 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.3076, allocations: 3.014 MB / 0.495 GB, free: 63.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.3082, allocations: 452.3 kB / 0.4955 GB, free: 62.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3084, allocations: 76.19 kB / 0.4955 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.3089, allocations: 115.8 kB / 0.4956 GB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.3092, allocations: 229.1 kB / 0.4959 GB, free: 62.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.3093, allocations: 94.33 kB / 0.4959 GB, free: 62.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008057/0.3101, allocations: 0.8368 MB / 0.4968 GB, free: 61.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3101, allocations: 0 / 0.4968 GB, free: 61.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002195/0.3123, allocations: 1.2 MB / 0.4979 GB, free: 60.39 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.0002896/0.3126, allocations: 223.4 kB / 0.4982 GB, free: 60.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.3148, allocations: 1.927 MB / 0.5 GB, free: 58.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.3148, allocations: 0 / 0.5 GB, free: 58.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.3155, allocations: 0.8259 MB / 0.5008 GB, free: 57.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3169, allocations: 0.5112 MB / 0.5013 GB, free: 57.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.3233, allocations: 7.764 MB / 0.5089 GB, free: 49.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.3241, allocations: 1.432 MB / 0.5103 GB, free: 48.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001428/0.3255, allocations: 1.174 MB / 0.5115 GB, free: 47.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.3259, allocations: 228.4 kB / 0.5117 GB, free: 47.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3259, allocations: 2.734 kB / 0.5117 GB, free: 47.72 MB / 410.7 MB Notification: Performance of Templates: time 0.03112/0.357, allocations: 30.41 MB / 0.5414 GB, free: 17.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 4.245069314027205]