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.001679/0.001679, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001817/0.001817, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.898 MB / 190.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.2343/0.2343, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 83.81 kB / 443.1 MB, free: 6.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3576, allocations: 66.05 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007637/0.3652, allocations: 8.26 MB / 0.5053 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.3706, allocations: 2.72 MB / 0.508 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.3718, allocations: 92.44 kB / 0.5081 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006859/0.3787, allocations: 3.684 MB / 0.5117 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.383, allocations: 1.073 MB / 0.5127 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3849, allocations: 0.7737 MB / 0.5135 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006017/0.3909, allocations: 4.862 MB / 0.5182 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.4011, allocations: 7.698 MB / 0.5257 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.4063, allocations: 2.858 MB / 0.5285 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006356/0.4127, allocations: 3.064 MB / 0.5315 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002337/0.415, allocations: 0.7694 MB / 0.5323 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.4185, allocations: 0.923 MB / 0.5332 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.4204, allocations: 1.604 MB / 0.5347 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006/0.4264, allocations: 2.343 MB / 0.537 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4398, allocations: 10.54 MB / 0.5473 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4398, allocations: 0 / 0.5473 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4398, allocations: 0 / 0.5473 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003211/0.4401, allocations: 3.938 kB / 0.5473 GB, free: 0.8555 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.02642/0.4665, allocations: 6.351 MB / 0.5535 GB, free: 11.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4666, allocations: 8.031 kB / 0.5535 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02573/0.4923, allocations: 3.926 MB / 0.5574 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009456/0.5018, allocations: 3.265 MB / 0.5606 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005038/0.5023, allocations: 386.5 kB / 0.5609 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/0.5048, allocations: 0.4999 MB / 0.5614 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.5325, allocations: 8.704 MB / 0.5699 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/0.5327, allocations: 15.94 kB / 0.5699 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002436/0.5352, allocations: 212 kB / 0.5701 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005532/0.5357, allocations: 335.1 kB / 0.5704 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/0.5572, allocations: 8.011 MB / 0.5783 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05203/0.6092, allocations: 21.99 MB / 0.5997 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.6218, allocations: 4.554 MB / 0.6042 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/0.625, allocations: 1.479 MB / 0.6056 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.6252, allocations: 61.94 kB / 0.6057 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.536e-05/0.6253, allocations: 60.5 kB / 0.6058 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 7.014e-06/0.6253, allocations: 3.984 kB / 0.6058 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006947/0.6322, allocations: 3.45 MB / 0.6091 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.6323, allocations: 99.11 kB / 0.6092 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.6365, allocations: 1.996 MB / 0.6112 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.6368, allocations: 57.7 kB / 0.6112 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.6388, allocations: 2.272 MB / 0.6134 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.6399, allocations: 0.7748 MB / 0.6142 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.6414, allocations: 0.7069 MB / 0.6149 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6416, allocations: 309.1 kB / 0.6152 GB, free: 12 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.6445, allocations: 1.568 MB / 0.6167 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004486/0.649, allocations: 3.187 MB / 0.6198 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007532/0.6565, allocations: 5.083 MB / 0.6248 GB, free: 0.6055 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.537e-05/0.6566, allocations: 16 kB / 0.6248 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009259/0.6658, allocations: 4.883 MB / 0.6296 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.6659, allocations: 28 kB / 0.6296 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.666, allocations: 56 kB / 0.6297 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.6661, allocations: 79.94 kB / 0.6297 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.6696, allocations: 0.9165 MB / 0.6306 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001305/0.6697, allocations: 111.8 kB / 0.6307 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.6725, allocations: 481 kB / 0.6312 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000484/0.673, allocations: 196 kB / 0.6314 GB, free: 9.844 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.004538/0.6775, allocations: 2.081 MB / 0.6334 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/0.6781, allocations: 202.7 kB / 0.6336 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/0.6842, allocations: 3.095 MB / 0.6366 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.6843, allocations: 24 kB / 0.6366 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.6843, allocations: 0 / 0.6366 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.6843, allocations: 15.95 kB / 0.6367 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.7006, allocations: 7.568 MB / 0.6441 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.997e-05/0.7006, allocations: 16.19 kB / 0.6441 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/0.703, allocations: 0.5655 MB / 0.6446 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.703, allocations: 28 kB / 0.6446 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.7033, allocations: 79.97 kB / 0.6447 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.99e-05/0.7033, allocations: 39.86 kB / 0.6448 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-05/0.7033, allocations: 27.88 kB / 0.6448 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/0.7114, allocations: 5.182 MB / 0.6498 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7127, allocations: 493.8 kB / 0.6503 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000444/0.7131, allocations: 71.98 kB / 0.6504 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7145, allocations: 119.9 kB / 0.6505 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.7149, allocations: 233.2 kB / 0.6507 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.7151, allocations: 91.98 kB / 0.6508 GB, free: 5.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002333/0.7174, allocations: 1.298 MB / 0.6521 GB, free: 4.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7174, allocations: 4.062 kB / 0.6521 GB, free: 4.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004277/0.7217, allocations: 1.203 MB / 0.6533 GB, free: 2.805 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.0004999/0.7222, allocations: 226.5 kB / 0.6535 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006359/0.7286, allocations: 3.478 MB / 0.6569 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.7286, allocations: 0 / 0.6569 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.7313, allocations: 1.47 MB / 0.6583 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.7345, allocations: 485.3 kB / 0.6588 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.7519, allocations: 9.12 MB / 0.6677 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004654/0.7566, allocations: 3.121 MB / 0.6707 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003409/0.76, allocations: 1.37 MB / 0.6721 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/0.7608, allocations: 228.4 kB / 0.6723 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/0.7608, allocations: 0 / 0.6723 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of Templates: time 0.3067/1.067, allocations: 30.66 MB / 0.7022 GB, free: 144.1 MB / 0.5763 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 ida -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.1.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: 6.775312729994766]