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.001305/0.001305, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00158/0.00158, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2604/0.2604, allocations: 46.93 MB / 360.8 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 67.89 kB / 0.4966 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4018, allocations: 66.03 MB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01327/0.4151, allocations: 9.506 MB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007158/0.4222, allocations: 2.846 MB / 0.5732 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.4241, allocations: 87.56 kB / 0.5733 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00915/0.4332, allocations: 3.788 MB / 0.577 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.4382, allocations: 1.1 MB / 0.578 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.4407, allocations: 0.8019 MB / 0.5788 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00746/0.4482, allocations: 4.856 MB / 0.5836 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.4631, allocations: 7.773 MB / 0.5912 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.4682, allocations: 2.849 MB / 0.5939 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008474/0.4767, allocations: 3.162 MB / 0.597 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003054/0.4798, allocations: 0.7656 MB / 0.5978 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.4833, allocations: 0.9412 MB / 0.5987 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.4859, allocations: 1.598 MB / 0.6002 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005859/0.4917, allocations: 3.016 MB / 0.6032 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.506, allocations: 10.49 MB / 0.6134 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.506, allocations: 4 kB / 0.6134 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.506, allocations: 0 / 0.6134 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002878/0.5063, allocations: 0 / 0.6134 GB, free: 14.57 MB / 462.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.02069/0.527, allocations: 6.347 MB / 0.6196 GB, free: 8.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.527, allocations: 8.031 kB / 0.6196 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/0.55, allocations: 3.926 MB / 0.6235 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009056/0.559, allocations: 3.261 MB / 0.6267 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.5595, allocations: 390.5 kB / 0.627 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.562, allocations: 0.4961 MB / 0.6275 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.5898, allocations: 8.711 MB / 0.636 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/0.5901, allocations: 3.953 kB / 0.636 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/0.5924, allocations: 212 kB / 0.6362 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005346/0.5929, allocations: 343.1 kB / 0.6366 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.6142, allocations: 8.039 MB / 0.6444 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05863/0.6728, allocations: 25.28 MB / 0.6691 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.6856, allocations: 4.628 MB / 0.6736 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.6887, allocations: 1.487 MB / 0.6751 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.689, allocations: 77.88 kB / 0.6751 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.6891, allocations: 56.56 kB / 0.6752 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 4.339e-06/0.6891, allocations: 0 / 0.6752 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.007002/0.6961, allocations: 3.527 MB / 0.6786 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.6962, allocations: 99.11 kB / 0.6787 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/0.7033, allocations: 3.433 MB / 0.6821 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.7037, allocations: 57.64 kB / 0.6821 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.706, allocations: 2.23 MB / 0.6843 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.7072, allocations: 0.7748 MB / 0.6851 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/0.7091, allocations: 0.7069 MB / 0.6858 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7093, allocations: 313.1 kB / 0.6861 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/0.7124, allocations: 1.564 MB / 0.6876 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004652/0.7171, allocations: 3.187 MB / 0.6907 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007918/0.725, allocations: 5.079 MB / 0.6957 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-05/0.7251, allocations: 16 kB / 0.6957 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01036/0.7354, allocations: 4.957 MB / 0.7005 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.7355, allocations: 32.03 kB / 0.7006 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.7356, allocations: 56 kB / 0.7006 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.7358, allocations: 76 kB / 0.7007 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/0.7395, allocations: 0.9165 MB / 0.7016 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001585/0.7396, allocations: 111.6 kB / 0.7017 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.7434, allocations: 0.5818 MB / 0.7023 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/0.7439, allocations: 188 kB / 0.7024 GB, free: 1.156 MB / 0.5294 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.005252/0.7492, allocations: 2.077 MB / 0.7045 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/0.75, allocations: 282.1 kB / 0.7047 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006724/0.7567, allocations: 3.176 MB / 0.7078 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.7567, allocations: 20 kB / 0.7079 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.7568, allocations: 0 / 0.7079 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.7568, allocations: 19.95 kB / 0.7079 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/0.7765, allocations: 8.653 MB / 0.7163 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.982e-05/0.7766, allocations: 16 kB / 0.7163 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/0.7789, allocations: 0.5616 MB / 0.7169 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/0.779, allocations: 28 kB / 0.7169 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.7792, allocations: 80.47 kB / 0.717 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.036e-05/0.7793, allocations: 35.92 kB / 0.717 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-05/0.7793, allocations: 27.88 kB / 0.717 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008982/0.7883, allocations: 5.264 MB / 0.7222 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/0.791, allocations: 0.6496 MB / 0.7228 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008679/0.7919, allocations: 79.88 kB / 0.7229 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.7938, allocations: 123.9 kB / 0.723 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/0.7942, allocations: 233.2 kB / 0.7232 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/0.7944, allocations: 95.98 kB / 0.7233 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005642/0.8, allocations: 2.384 MB / 0.7257 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8, allocations: 0 / 0.7257 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005513/0.8055, allocations: 1.114 MB / 0.7267 GB, free: 7.586 MB / 0.5606 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.0007625/0.8063, allocations: 222.5 kB / 0.727 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007184/0.8135, allocations: 3.477 MB / 0.7304 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/0.8135, allocations: 0 / 0.7304 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.8164, allocations: 1.475 MB / 0.7318 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/0.8207, allocations: 0.5233 MB / 0.7323 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3413/1.162, allocations: 9.362 MB / 0.7415 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/1.165, allocations: 3.635 MB / 0.745 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003/1.168, allocations: 1.477 MB / 0.7464 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/1.169, allocations: 257.4 kB / 0.7467 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.169, allocations: 0 / 0.7467 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06216/1.231, allocations: 39.69 MB / 0.7855 GB, free: 112.9 MB / 0.5606 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/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_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: 7.6348033379763365]