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.00682/0.00682, allocations: 105.5 kB / 21.97 MB, free: 5.23 MB / 14.72 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.001848/0.001848, allocations: 218.6 kB / 25.3 MB, free: 3.207 MB / 14.72 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 1.535/1.535, allocations: 230.3 MB / 258.7 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] 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.2379/0.2379, allocations: 46.88 MB / 362 MB, free: 4.449 MB / 286.1 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|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.86 kB / 0.4978 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3772, allocations: 66.02 MB / 0.5623 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0118/0.389, allocations: 9.511 MB / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006824/0.3958, allocations: 2.846 MB / 0.5743 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.3977, allocations: 87.56 kB / 0.5744 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009201/0.4069, allocations: 3.792 MB / 0.5781 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.4113, allocations: 1.084 MB / 0.5792 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.4135, allocations: 0.8061 MB / 0.58 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.4198, allocations: 4.871 MB / 0.5847 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.431, allocations: 7.361 MB / 0.5919 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.4352, allocations: 2.852 MB / 0.5947 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.4406, allocations: 3.158 MB / 0.5978 GB, free: 48 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.4428, allocations: 0.7657 MB / 0.5985 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.4459, allocations: 0.9295 MB / 0.5994 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.4479, allocations: 1.613 MB / 0.601 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004691/0.4526, allocations: 3.008 MB / 0.6039 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4668, allocations: 10.49 MB / 0.6142 GB, free: 15.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4668, allocations: 0 / 0.6142 GB, free: 15.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4668, allocations: 0 / 0.6142 GB, free: 15.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003478/0.4672, allocations: 3.938 kB / 0.6142 GB, free: 15.19 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.02083/0.488, allocations: 6.415 MB / 0.6205 GB, free: 8.695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.4881, allocations: 16.02 kB / 0.6205 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02295/0.511, allocations: 3.926 MB / 0.6243 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009066/0.5201, allocations: 3.239 MB / 0.6275 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004846/0.5206, allocations: 394.5 kB / 0.6278 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.5227, allocations: 0.496 MB / 0.6283 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/0.5478, allocations: 8.708 MB / 0.6368 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/0.5481, allocations: 7.891 kB / 0.6368 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002594/0.5507, allocations: 212 kB / 0.637 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005058/0.5512, allocations: 343.1 kB / 0.6374 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.5705, allocations: 8.035 MB / 0.6452 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05315/0.6236, allocations: 27.81 MB / 0.6724 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.6385, allocations: 10.03 MB / 0.6822 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.6417, allocations: 1.487 MB / 0.6836 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.642, allocations: 224.1 kB / 0.6838 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.6421, allocations: 60.5 kB / 0.6839 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 4.288e-06/0.6421, allocations: 0 / 0.6839 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006828/0.6489, allocations: 3.527 MB / 0.6873 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.649, allocations: 99.11 kB / 0.6874 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/0.6554, allocations: 3.434 MB / 0.6908 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.6557, allocations: 57.7 kB / 0.6908 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002028/0.6577, allocations: 2.226 MB / 0.693 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.6588, allocations: 0.7826 MB / 0.6938 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.6606, allocations: 0.703 MB / 0.6945 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6608, allocations: 301.1 kB / 0.6947 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.6636, allocations: 1.568 MB / 0.6963 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/0.6679, allocations: 3.195 MB / 0.6994 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/0.6753, allocations: 5.079 MB / 0.7044 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.6754, allocations: 16 kB / 0.7044 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01004/0.6854, allocations: 4.956 MB / 0.7092 GB, free: 9.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.6855, allocations: 28 kB / 0.7092 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.6856, allocations: 56 kB / 0.7093 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.6857, allocations: 80.03 kB / 0.7094 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.6892, allocations: 0.9246 MB / 0.7103 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/0.6893, allocations: 111.6 kB / 0.7104 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/0.6926, allocations: 0.5779 MB / 0.7109 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/0.6932, allocations: 192 kB / 0.7111 GB, free: 7.703 MB / 0.545 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.004057/0.6972, allocations: 2.078 MB / 0.7132 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.6979, allocations: 278.1 kB / 0.7134 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006206/0.7041, allocations: 3.179 MB / 0.7165 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.7041, allocations: 24 kB / 0.7166 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.7041, allocations: 0 / 0.7166 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.7042, allocations: 11.95 kB / 0.7166 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.7216, allocations: 8.664 MB / 0.725 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/0.7216, allocations: 16 kB / 0.725 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/0.7239, allocations: 0.5626 MB / 0.7256 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.071e-05/0.7239, allocations: 24 kB / 0.7256 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/0.7242, allocations: 83.95 kB / 0.7257 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.938e-05/0.7243, allocations: 39.86 kB / 0.7257 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.097e-05/0.7243, allocations: 27.88 kB / 0.7258 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008309/0.7326, allocations: 5.261 MB / 0.7309 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/0.7346, allocations: 0.7094 MB / 0.7316 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/0.7352, allocations: 75.81 kB / 0.7317 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.7369, allocations: 127.8 kB / 0.7318 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.7373, allocations: 229.3 kB / 0.732 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/0.7375, allocations: 95.97 kB / 0.7321 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2942/1.032, allocations: 2.383 MB / 0.7344 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.032, allocations: 0.5312 kB / 0.7344 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00484/1.037, allocations: 1.101 MB / 0.7355 GB, free: 148.3 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.0006886/1.037, allocations: 223.2 kB / 0.7357 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005463/1.043, allocations: 3.477 MB / 0.7391 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/1.043, allocations: 7.469 kB / 0.7391 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.045, allocations: 1.473 MB / 0.7405 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.048, allocations: 0.5287 MB / 0.7411 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.06, allocations: 9.371 MB / 0.7502 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.063, allocations: 3.631 MB / 0.7538 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002775/1.066, allocations: 1.471 MB / 0.7552 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/1.066, allocations: 264 kB / 0.7554 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.066, allocations: 7.719 kB / 0.7555 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05743/1.124, allocations: 39.68 MB / 0.7942 GB, free: 103.1 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.345773349050432]