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.001263/0.001263, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001151/0.001151, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9751/0.9751, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2624/0.2624, allocations: 34.25 MB / 296.1 MB, free: 0.6875 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.783e-06/1.783e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.515e-05, allocations: 3.078 kB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.009596/0.009621, allocations: 8.864 MB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.01467, allocations: 2.917 MB / 337 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.01542, allocations: 87.56 kB / 337.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.01927, allocations: 4.009 MB / 341.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.0213, allocations: 1.111 MB / 342.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.02233, allocations: 0.7745 MB / 343 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.02594, allocations: 5.056 MB / 348.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006661/0.0326, allocations: 7.935 MB / 356 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.0362, allocations: 4.263 MB / 360.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.03908, allocations: 3.178 MB / 363.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009451/0.04003, allocations: 0.7695 MB / 364.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.04097, allocations: 0.9292 MB / 365.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008599/0.04183, allocations: 1.656 MB / 366.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.04353, allocations: 2.039 MB / 368.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.04689, allocations: 5.208 MB / 374 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.04689, allocations: 0 / 374 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.04689, allocations: 7.938 kB / 374 MB, free: 6.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.514e-05/0.04694, allocations: 0 / 374 MB, free: 6.645 MB / 346.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.006737/0.05368, allocations: 6.173 MB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.05372, allocations: 12.03 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.06355, allocations: 3.797 MB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.0657, allocations: 1.625 MB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.06588, allocations: 386.5 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005218/0.0664, allocations: 0.4961 MB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.07073, allocations: 4.288 MB / 390.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.549e-05/0.0708, allocations: 7.891 kB / 390.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.07115, allocations: 212 kB / 391 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.07137, allocations: 339.1 kB / 391.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.07384, allocations: 1.706 MB / 393.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.08813, allocations: 15.14 MB / 408.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/0.09182, allocations: 2.532 MB / 410.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.09242, allocations: 0.5611 MB / 411.3 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.09253, allocations: 81.94 kB / 411.4 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.09256, allocations: 56.5 kB / 411.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.396e-06/0.09256, allocations: 0 / 411.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001216/0.09378, allocations: 0.9677 MB / 412.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.09382, allocations: 103.1 kB / 412.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008039/0.09462, allocations: 1.247 MB / 413.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.0947, allocations: 53.7 kB / 413.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007489/0.09545, allocations: 2.161 MB / 416 MB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.09581, allocations: 0.7708 MB / 416.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/0.09634, allocations: 0.6325 MB / 417.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.0964, allocations: 305.1 kB / 417.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.09681, allocations: 298.8 kB / 417.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.09788, allocations: 1.922 MB / 419.9 MB, free: 7.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.09971, allocations: 2.684 MB / 422.6 MB, free: 3.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.09972, allocations: 16 kB / 422.6 MB, free: 3.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002015/0.1017, allocations: 2.049 MB / 424.6 MB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1018, allocations: 28 kB / 424.6 MB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.1018, allocations: 56 kB / 424.7 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.237e-05/0.1019, allocations: 79.94 kB / 424.8 MB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.1033, allocations: 0.8428 MB / 425.6 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.432e-05/0.1034, allocations: 115.6 kB / 425.7 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/0.1043, allocations: 397.1 kB / 426.1 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.1045, allocations: 156 kB / 426.3 MB, free: 20 kB / 394.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.0005625/0.105, allocations: 367.1 kB / 426.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.1052, allocations: 175.8 kB / 426.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.1066, allocations: 1.326 MB / 428.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.1066, allocations: 23.94 kB / 428.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1066, allocations: 4 kB / 428.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.1066, allocations: 7.969 kB / 428.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.1112, allocations: 4.972 MB / 433.1 MB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.1112, allocations: 16 kB / 433.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.1121, allocations: 0.5071 MB / 433.7 MB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/0.1121, allocations: 35.88 kB / 433.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/0.1122, allocations: 67.98 kB / 433.8 MB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.1122, allocations: 40.33 kB / 433.8 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/0.1123, allocations: 31.88 kB / 433.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.1141, allocations: 2.251 MB / 436.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.1145, allocations: 337.9 kB / 436.4 MB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.1147, allocations: 75.92 kB / 436.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.1152, allocations: 71.94 kB / 436.6 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.1154, allocations: 217.3 kB / 436.8 MB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.1155, allocations: 75.97 kB / 436.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.1159, allocations: 0.5179 MB / 437.4 MB, free: 4.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1159, allocations: 0 / 437.4 MB, free: 4.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004095/0.12, allocations: 1.203 MB / 438.6 MB, free: 3.086 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.0005704/0.1206, allocations: 209.7 kB / 438.8 MB, free: 2.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.1226, allocations: 1.534 MB / 440.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.781e-05/0.1227, allocations: 32.66 kB / 440.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.1233, allocations: 0.6648 MB / 441 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.1249, allocations: 0.4916 MB / 441.5 MB, free: 168 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.1338, allocations: 7.389 MB / 448.9 MB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.1349, allocations: 1.024 MB / 449.9 MB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.136, allocations: 412.8 kB / 450.3 MB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/0.1368, allocations: 0.5128 MB / 450.8 MB, free: 6.512 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1368, allocations: 0 / 450.8 MB, free: 6.512 MB / 426.7 MB Notification: Performance of Templates: time 0.2272/0.364, allocations: 33.33 MB / 484.1 MB, free: 101.4 MB / 426.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: 3.8282643440179527]