Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 83.45 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09423, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01766/0.1119, allocations: 19.75 MB / 499.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00964/0.1216, allocations: 4.978 MB / 0.493 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.1249, allocations: 163.5 kB / 0.4932 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.1414, allocations: 7.76 MB / 0.5008 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.1478, allocations: 2.043 MB / 0.5028 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.1513, allocations: 1.405 MB / 0.5041 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2019/0.3533, allocations: 12.07 MB / 0.5159 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02909/0.3824, allocations: 26.18 MB / 0.5415 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009786/0.3923, allocations: 6.485 MB / 0.5478 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.4028, allocations: 7.226 MB / 0.5549 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003241/0.4061, allocations: 1.719 MB / 0.5566 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009742/0.4158, allocations: 2.379 MB / 0.5589 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003756/0.4196, allocations: 3.659 MB / 0.5625 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.4303, allocations: 7.01 MB / 0.5693 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.4519, allocations: 23.47 MB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4519, allocations: 0 / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4519, allocations: 0 / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004891/0.4524, allocations: 0 / 0.5922 GB, free: 14.43 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: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03919/0.4916, allocations: 14.57 MB / 0.6064 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4917, allocations: 8.031 kB / 0.6065 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006439/0.4982, allocations: 1.712 MB / 0.6081 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06177/0.5599, allocations: 11.44 MB / 0.6193 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5739, allocations: 7.09 MB / 0.6262 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009462/0.5749, allocations: 0.8836 MB / 0.6271 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004227/0.5791, allocations: 1.169 MB / 0.6282 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/0.6184, allocations: 18.57 MB / 0.6464 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004006/0.6189, allocations: 15.81 kB / 0.6464 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002884/0.6218, allocations: 496.8 kB / 0.6469 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/0.6224, allocations: 0.6617 MB / 0.6475 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/0.6565, allocations: 19.07 MB / 0.6661 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4263/1.083, allocations: 60.91 MB / 0.7256 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.098, allocations: 16.6 MB / 0.7418 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005295/1.104, allocations: 4.522 MB / 0.7462 GB, free: 122 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003962/1.104, allocations: 320.2 kB / 0.7465 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/1.104, allocations: 103.6 kB / 0.7466 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.366e-06/1.104, allocations: 0 / 0.7466 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01469/1.119, allocations: 12.36 MB / 0.7587 GB, free: 117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.119, allocations: 118.9 kB / 0.7588 GB, free: 117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009923/1.129, allocations: 8.606 MB / 0.7672 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008844/1.13, allocations: 129.4 kB / 0.7674 GB, free: 113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002323/1.132, allocations: 4.486 MB / 0.7717 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.134, allocations: 2.187 MB / 0.7739 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/1.136, allocations: 1.443 MB / 0.7753 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/1.136, allocations: 301.1 kB / 0.7756 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005278/1.141, allocations: 4.1 MB / 0.7796 GB, free: 104 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005786/1.147, allocations: 6.91 MB / 0.7863 GB, free: 98.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.158, allocations: 11.93 MB / 0.798 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/1.158, allocations: 28 kB / 0.798 GB, free: 85.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0145/1.172, allocations: 12 MB / 0.8097 GB, free: 73.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/1.172, allocations: 44 kB / 0.8098 GB, free: 73.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.172, allocations: 92 kB / 0.8098 GB, free: 73.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008198/1.173, allocations: 413.2 kB / 0.8102 GB, free: 73.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006017/1.179, allocations: 2.001 MB / 0.8122 GB, free: 71.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/1.184, allocations: 9.587 MB / 0.8216 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.19, allocations: 1.354 MB / 0.8229 GB, free: 59.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000653/1.19, allocations: 376 kB / 0.8232 GB, free: 59.05 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.005963/1.196, allocations: 4.588 MB / 0.8277 GB, free: 54.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.197, allocations: 0.6982 MB / 0.8284 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.21, allocations: 10.61 MB / 0.8388 GB, free: 43.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/1.21, allocations: 68 kB / 0.8388 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.211, allocations: 0 / 0.8388 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/1.211, allocations: 31.88 kB / 0.8389 GB, free: 42.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3398/1.55, allocations: 161.4 MB / 0.9965 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002206/1.551, allocations: 88 kB / 0.9966 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005092/1.556, allocations: 1.538 MB / 0.9981 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007136/1.556, allocations: 383.6 kB / 0.9985 GB, free: 153.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004619/1.557, allocations: 244 kB / 0.9987 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00445/1.561, allocations: 9.457 MB / 1.008 GB, free: 143.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-05/1.561, allocations: 131.4 kB / 1.008 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.578, allocations: 18.53 MB / 1.026 GB, free: 122.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/1.582, allocations: 2.011 MB / 1.028 GB, free: 120.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.583, allocations: 251.9 kB / 1.028 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00422/1.587, allocations: 0.5619 MB / 1.029 GB, free: 120 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.588, allocations: 0.7298 MB / 1.03 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004001/1.588, allocations: 308 kB / 1.03 GB, free: 118.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00735/1.596, allocations: 6.047 MB / 1.036 GB, free: 112.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.6e-07/1.596, allocations: 0 / 1.036 GB, free: 112.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007828/1.603, allocations: 2.618 MB / 1.038 GB, free: 110.3 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.01718/1.621, allocations: 19.43 MB / 1.057 GB, free: 88.77 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02495/1.646, allocations: 16.72 MB / 1.074 GB, free: 72.04 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.723e-05/1.646, allocations: 15.83 kB / 1.074 GB, free: 72.03 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007205/1.653, allocations: 5.438 MB / 1.079 GB, free: 66.53 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/1.664, allocations: 1.498 MB / 1.08 GB, free: 65.08 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3056/1.97, allocations: 143.6 MB / 1.221 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006203/1.976, allocations: 7.765 MB / 1.228 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007814/1.984, allocations: 3.558 MB / 1.232 GB, free: 121.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005144/1.989, allocations: 4.155 MB / 1.236 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of SimCode: time 7.72e-07/1.989, allocations: 0 / 1.236 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4582/2.447, allocations: 194.5 MB / 1.426 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/16.15, allocations: 0 / 1.426 GB, free: 142.9 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches