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.001487/0.001487, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002276, allocations: 78.53 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.108, allocations: 62.43 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01965/0.1277, allocations: 19.76 MB / 499.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009493/0.1372, allocations: 4.982 MB / 0.493 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.1411, allocations: 159.5 kB / 0.4932 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01717/0.1583, allocations: 7.76 MB / 0.5008 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006905/0.1652, allocations: 2.039 MB / 0.5028 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.1691, allocations: 1.414 MB / 0.5041 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2017/0.3708, allocations: 12.07 MB / 0.5159 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03604/0.4069, allocations: 26.18 MB / 0.5415 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.4174, allocations: 6.477 MB / 0.5478 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.429, allocations: 7.222 MB / 0.5549 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004215/0.4333, allocations: 1.719 MB / 0.5565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.4447, allocations: 2.394 MB / 0.5589 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00584/0.4506, allocations: 3.652 MB / 0.5625 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01253/0.4632, allocations: 7.009 MB / 0.5693 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02606/0.4893, allocations: 23.46 MB / 0.5922 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4893, allocations: 4 kB / 0.5922 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4893, allocations: 0 / 0.5922 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005846/0.4899, allocations: 4 kB / 0.5922 GB, free: 14.4 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.03861/0.5285, allocations: 14.56 MB / 0.6064 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5286, allocations: 8.031 kB / 0.6064 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003674/0.5323, allocations: 1.722 MB / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06153/0.5938, allocations: 11.44 MB / 0.6193 GB, free: 2.789 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.6081, allocations: 7.087 MB / 0.6262 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009245/0.6091, allocations: 0.8881 MB / 0.6271 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004397/0.6135, allocations: 1.169 MB / 0.6282 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.6545, allocations: 18.56 MB / 0.6464 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/0.6548, allocations: 19.81 kB / 0.6464 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/0.6571, allocations: 0.4911 MB / 0.6469 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005531/0.6577, allocations: 0.6538 MB / 0.6475 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03672/0.6944, allocations: 19.07 MB / 0.6661 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4935/1.188, allocations: 60.91 MB / 0.7256 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.204, allocations: 16.6 MB / 0.7418 GB, free: 94.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005282/1.21, allocations: 4.526 MB / 0.7462 GB, free: 94.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/1.21, allocations: 322.6 kB / 0.7465 GB, free: 94.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/1.21, allocations: 113.5 kB / 0.7466 GB, free: 94.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.118e-06/1.21, allocations: 3.984 kB / 0.7466 GB, free: 94.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01466/1.225, allocations: 12.35 MB / 0.7587 GB, free: 90.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/1.225, allocations: 120 kB / 0.7588 GB, free: 90.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009631/1.234, allocations: 8.609 MB / 0.7672 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007382/1.235, allocations: 128.4 kB / 0.7674 GB, free: 87.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/1.237, allocations: 4.488 MB / 0.7717 GB, free: 84.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.239, allocations: 2.188 MB / 0.7739 GB, free: 82.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/1.241, allocations: 1.438 MB / 0.7753 GB, free: 81.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.469e-05/1.241, allocations: 305.1 kB / 0.7756 GB, free: 81.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.245, allocations: 4.101 MB / 0.7796 GB, free: 80.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.251, allocations: 6.91 MB / 0.7863 GB, free: 74.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.263, allocations: 11.93 MB / 0.798 GB, free: 64.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-05/1.263, allocations: 28 kB / 0.798 GB, free: 64.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01556/1.279, allocations: 12 MB / 0.8097 GB, free: 52.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/1.279, allocations: 46.5 kB / 0.8098 GB, free: 52.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.84e-05/1.279, allocations: 94.52 kB / 0.8099 GB, free: 52.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008462/1.28, allocations: 412.9 kB / 0.8102 GB, free: 52.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006419/1.286, allocations: 1.994 MB / 0.8122 GB, free: 50.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/1.291, allocations: 9.6 MB / 0.8216 GB, free: 39.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1.297, allocations: 1.358 MB / 0.8229 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/1.298, allocations: 372 kB / 0.8232 GB, free: 38.1 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.005776/1.304, allocations: 4.579 MB / 0.8277 GB, free: 33.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.305, allocations: 0.7058 MB / 0.8284 GB, free: 32.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.319, allocations: 10.61 MB / 0.8388 GB, free: 22.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/1.319, allocations: 67.94 kB / 0.8388 GB, free: 22.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.319, allocations: 4 kB / 0.8388 GB, free: 22.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/1.319, allocations: 31.88 kB / 0.8389 GB, free: 22.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3506/1.669, allocations: 161.4 MB / 0.9965 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001019/1.669, allocations: 84 kB / 0.9966 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004959/1.674, allocations: 1.536 MB / 0.9981 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/1.675, allocations: 392.2 kB / 0.9985 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/1.676, allocations: 240 kB / 0.9987 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/1.68, allocations: 9.459 MB / 1.008 GB, free: 154.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.044e-05/1.68, allocations: 131.4 kB / 1.008 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.698, allocations: 18.52 MB / 1.026 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/1.702, allocations: 2.017 MB / 1.028 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.703, allocations: 239.9 kB / 1.028 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/1.708, allocations: 0.558 MB / 1.029 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008815/1.709, allocations: 0.7368 MB / 1.03 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004162/1.709, allocations: 308 kB / 1.03 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007442/1.716, allocations: 6.047 MB / 1.036 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/1.717, allocations: 0 / 1.036 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008133/1.725, allocations: 2.628 MB / 1.038 GB, free: 121.7 MB / 0.5919 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.01811/1.743, allocations: 19.43 MB / 1.057 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02432/1.767, allocations: 16.71 MB / 1.074 GB, free: 83.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.295e-05/1.767, allocations: 18 kB / 1.074 GB, free: 83.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00619/1.773, allocations: 5.44 MB / 1.079 GB, free: 77.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008005/1.781, allocations: 1.494 MB / 1.08 GB, free: 76.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3222/2.104, allocations: 143.5 MB / 1.221 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007501/2.111, allocations: 7.771 MB / 1.228 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008816/2.12, allocations: 3.56 MB / 1.232 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006001/2.126, allocations: 4.156 MB / 1.236 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/2.126, allocations: 0 / 1.236 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4616/2.588, allocations: 194.5 MB / 1.426 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/15.71, allocations: 4.734 kB / 1.426 GB, free: 188.6 MB / 0.5919 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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