Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 109.9 kB / 18.3 MB, free: 4.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 195.5 kB / 19.23 MB, free: 3.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.18 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.12 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02092/0.1418, allocations: 19.74 MB / 489.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1546, allocations: 4.904 MB / 494.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.1594, allocations: 167.4 kB / 494.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01778/0.1772, allocations: 7.762 MB / 0.4907 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008522/0.1857, allocations: 2.203 MB / 0.4929 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.1904, allocations: 1.264 MB / 0.4941 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.4753/0.6657, allocations: 12.06 MB / 0.5059 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04095/0.7067, allocations: 26.18 MB / 0.5315 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.717, allocations: 6.485 MB / 0.5378 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.7303, allocations: 7.279 MB / 0.5449 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005115/0.7355, allocations: 1.723 MB / 0.5466 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007106/0.7426, allocations: 1.911 MB / 0.5484 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005661/0.7483, allocations: 3.645 MB / 0.552 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.7604, allocations: 7.019 MB / 0.5589 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02561/0.786, allocations: 23.47 MB / 0.5818 GB, free: 9.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.7861, allocations: 4 kB / 0.5818 GB, free: 9.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7861, allocations: 0 / 0.5818 GB, free: 9.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006401/0.7867, allocations: 0 / 0.5818 GB, free: 9.484 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04832/0.8351, allocations: 14.55 MB / 0.596 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8351, allocations: 12.03 kB / 0.596 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06347/0.8986, allocations: 11.44 MB / 0.6072 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/0.9144, allocations: 7.083 MB / 0.6141 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009739/0.9154, allocations: 0.8918 MB / 0.615 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005241/0.9207, allocations: 1.167 MB / 0.6161 GB, free: 6.746 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/0.9676, allocations: 18.56 MB / 0.6342 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006362/0.9683, allocations: 11.91 kB / 0.6342 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004372/0.9727, allocations: 496.7 kB / 0.6347 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007527/0.9735, allocations: 0.6577 MB / 0.6354 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04193/1.015, allocations: 19.08 MB / 0.654 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.41, allocations: 60.65 MB / 0.7132 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02195/1.432, allocations: 16.6 MB / 0.7294 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007537/1.439, allocations: 4.519 MB / 0.7338 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/1.44, allocations: 239.6 kB / 0.7341 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.14e-05/1.44, allocations: 111.3 kB / 0.7342 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.188e-06/1.44, allocations: 3.75 kB / 0.7342 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01878/1.459, allocations: 12.35 MB / 0.7462 GB, free: 105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.459, allocations: 119.5 kB / 0.7463 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01383/1.473, allocations: 8.606 MB / 0.7547 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001668/1.474, allocations: 135.7 kB / 0.7549 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/1.478, allocations: 4.488 MB / 0.7593 GB, free: 99.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00272/1.481, allocations: 2.19 MB / 0.7614 GB, free: 97.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/1.483, allocations: 1.437 MB / 0.7628 GB, free: 97.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/1.483, allocations: 301.1 kB / 0.7631 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005693/1.489, allocations: 4.103 MB / 0.7671 GB, free: 95.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0083/1.497, allocations: 6.903 MB / 0.7738 GB, free: 90.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.513, allocations: 11.93 MB / 0.7855 GB, free: 83.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.513, allocations: 23.59 kB / 0.7855 GB, free: 83.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02314/1.536, allocations: 12.01 MB / 0.7972 GB, free: 73.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.536, allocations: 47.98 kB / 0.7973 GB, free: 73.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/1.537, allocations: 92 kB / 0.7974 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.538, allocations: 412.6 kB / 0.7978 GB, free: 72.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007673/1.545, allocations: 2.001 MB / 0.7997 GB, free: 71.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/1.551, allocations: 9.578 MB / 0.8091 GB, free: 60.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008428/1.56, allocations: 1.361 MB / 0.8104 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/1.562, allocations: 372 kB / 0.8108 GB, free: 59.03 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01189/1.574, allocations: 4.582 MB / 0.8152 GB, free: 54.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002837/1.576, allocations: 0.7098 MB / 0.8159 GB, free: 53.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/1.598, allocations: 10.59 MB / 0.8263 GB, free: 43.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/1.598, allocations: 68 kB / 0.8263 GB, free: 43.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/1.598, allocations: 8 kB / 0.8263 GB, free: 43.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/1.598, allocations: 35.86 kB / 0.8264 GB, free: 43.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5196/2.118, allocations: 156.6 MB / 0.9793 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004176/2.118, allocations: 87.98 kB / 0.9794 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006226/2.125, allocations: 1.544 MB / 0.9809 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/2.126, allocations: 376.6 kB / 0.9813 GB, free: 167 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/2.127, allocations: 244 kB / 0.9815 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/2.133, allocations: 9.468 MB / 0.9907 GB, free: 156.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-05/2.133, allocations: 139.2 kB / 0.9909 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02538/2.158, allocations: 18.52 MB / 1.009 GB, free: 136.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005761/2.164, allocations: 2.014 MB / 1.011 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003094/2.167, allocations: 243.9 kB / 1.011 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007218/2.175, allocations: 0.5541 MB / 1.012 GB, free: 133.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001927/2.177, allocations: 0.7301 MB / 1.012 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001249/2.178, allocations: 312.8 kB / 1.013 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01136/2.189, allocations: 6.05 MB / 1.019 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.964e-06/2.189, allocations: 0 / 1.019 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01306/2.202, allocations: 2.625 MB / 1.021 GB, free: 123.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003058/2.205, allocations: 495.3 kB / 1.022 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02786/2.233, allocations: 16.71 MB / 1.038 GB, free: 106.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.629e-05/2.233, allocations: 16 kB / 1.038 GB, free: 106.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008788/2.242, allocations: 5.433 MB / 1.043 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01207/2.254, allocations: 1.497 MB / 1.045 GB, free: 99.66 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/2.296, allocations: 24.49 MB / 1.069 GB, free: 73.95 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008335/2.304, allocations: 7.525 MB / 1.076 GB, free: 66.39 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003318/2.307, allocations: 0.6283 MB / 1.077 GB, free: 65.76 MB / 0.5763 GB Notification: Performance of SimCode: time 3.046e-06/2.307, allocations: 0 / 1.077 GB, free: 65.76 MB / 0.5763 GB Notification: Performance of Templates: time 1.448/3.755, allocations: 0.5356 GB / 1.612 GB, free: 162.4 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches