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.001861/0.001861, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002258/0.002258, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 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.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",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.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.89 kB / 0.4921 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.153, allocations: 65.99 MB / 0.5565 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01272/0.1657, allocations: 9.483 MB / 0.5658 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007317/0.173, allocations: 2.834 MB / 0.5685 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.1752, allocations: 87.56 kB / 0.5686 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009489/0.1847, allocations: 3.78 MB / 0.5723 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.1895, allocations: 1.065 MB / 0.5733 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.1921, allocations: 0.793 MB / 0.5741 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007278/0.1994, allocations: 4.84 MB / 0.5788 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.2148, allocations: 9.338 MB / 0.588 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.2198, allocations: 2.852 MB / 0.5907 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3234/0.5432, allocations: 3.138 MB / 0.5938 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003318/0.5465, allocations: 0.7652 MB / 0.5946 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.5507, allocations: 0.9381 MB / 0.5955 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.5544, allocations: 1.604 MB / 0.597 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009111/0.5635, allocations: 3.012 MB / 0.6 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.5805, allocations: 10.49 MB / 0.6102 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5805, allocations: 0 / 0.6102 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5805, allocations: 0 / 0.6102 GB, free: 11.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004263/0.5809, allocations: 0 / 0.6102 GB, free: 11.26 MB / 446.1 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.02724/0.6082, allocations: 6.422 MB / 0.6165 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6082, allocations: 14.25 kB / 0.6165 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.6315, allocations: 3.922 MB / 0.6203 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00786/0.6393, allocations: 3.238 MB / 0.6235 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/0.6399, allocations: 397.7 kB / 0.6239 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/0.6426, allocations: 0.4948 MB / 0.6244 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/0.6681, allocations: 8.709 MB / 0.6329 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/0.6684, allocations: 7.156 kB / 0.6329 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00265/0.671, allocations: 211 kB / 0.6331 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/0.6715, allocations: 337.3 kB / 0.6334 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.6922, allocations: 8.042 MB / 0.6413 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/0.7515, allocations: 27.8 MB / 0.6684 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/0.7671, allocations: 10.03 MB / 0.6782 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.7706, allocations: 1.484 MB / 0.6796 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.771, allocations: 229 kB / 0.6799 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.771, allocations: 64.56 kB / 0.6799 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.45e-06/0.771, allocations: 0 / 0.6799 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.008002/0.779, allocations: 3.526 MB / 0.6834 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7792, allocations: 105.9 kB / 0.6835 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00825/0.7874, allocations: 3.43 MB / 0.6868 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005761/0.788, allocations: 61.7 kB / 0.6869 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/0.7904, allocations: 2.227 MB / 0.6891 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.7917, allocations: 0.7772 MB / 0.6898 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002181/0.7938, allocations: 0.7069 MB / 0.6905 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.794, allocations: 301.8 kB / 0.6908 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.7974, allocations: 1.572 MB / 0.6923 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.8025, allocations: 3.185 MB / 0.6954 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008138/0.8106, allocations: 5.077 MB / 0.7004 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-05/0.8107, allocations: 16 kB / 0.7004 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01176/0.8225, allocations: 4.964 MB / 0.7053 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.8226, allocations: 29 kB / 0.7053 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.8227, allocations: 57.03 kB / 0.7053 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.8228, allocations: 87.94 kB / 0.7054 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/0.8268, allocations: 0.9122 MB / 0.7063 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001552/0.827, allocations: 114.1 kB / 0.7064 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/0.831, allocations: 0.5702 MB / 0.707 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008515/0.8318, allocations: 192 kB / 0.7072 GB, free: 2.207 MB / 0.5137 GB 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.005372/0.8372, allocations: 2.076 MB / 0.7092 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008412/0.838, allocations: 281.2 kB / 0.7095 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/0.8451, allocations: 3.178 MB / 0.7126 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.8452, allocations: 20 kB / 0.7126 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.8452, allocations: 4 kB / 0.7126 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.8452, allocations: 18.14 kB / 0.7126 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/0.8659, allocations: 8.663 MB / 0.7211 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-05/0.866, allocations: 16 kB / 0.7211 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/0.8684, allocations: 0.5653 MB / 0.7216 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.489e-05/0.8684, allocations: 28 kB / 0.7217 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/0.8687, allocations: 75.98 kB / 0.7217 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-05/0.8688, allocations: 38.36 kB / 0.7218 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/0.8688, allocations: 26.12 kB / 0.7218 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009044/0.8779, allocations: 5.272 MB / 0.7269 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.8798, allocations: 0.7054 MB / 0.7276 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000888/0.8807, allocations: 75.98 kB / 0.7277 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.8828, allocations: 119.9 kB / 0.7278 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004768/0.8832, allocations: 221.5 kB / 0.728 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/0.8835, allocations: 99.92 kB / 0.7281 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005511/0.889, allocations: 2.384 MB / 0.7305 GB, free: 10.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.889, allocations: 4 kB / 0.7305 GB, free: 10 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005793/0.8948, allocations: 1.11 MB / 0.7315 GB, free: 8.891 MB / 0.545 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.0008343/0.8956, allocations: 222.2 kB / 0.7318 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007222/0.9028, allocations: 3.477 MB / 0.7351 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/0.9028, allocations: 4 kB / 0.7352 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.9061, allocations: 1.468 MB / 0.7366 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/0.9112, allocations: 0.5315 MB / 0.7371 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.9318, allocations: 9.237 MB / 0.7461 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/0.9381, allocations: 3.529 MB / 0.7496 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.9394, allocations: 287.4 kB / 0.7498 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of SimCode: time 1.783e-06/0.9394, allocations: 4 kB / 0.7498 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Templates: time 0.1009/1.04, allocations: 59.22 MB / 0.8077 GB, free: 11.07 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 13.001806495012715]