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.001024/0.001024, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 83.86 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 62.42 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0194/0.3017, allocations: 19.76 MB / 0.5498 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3124, allocations: 4.98 MB / 0.5547 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003357/0.3158, allocations: 163.5 kB / 0.5548 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.016/0.3318, allocations: 7.786 MB / 0.5624 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006844/0.3387, allocations: 2.067 MB / 0.5644 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.3421, allocations: 1.401 MB / 0.5658 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.3551, allocations: 12.18 MB / 0.5777 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03126/0.3864, allocations: 26.06 MB / 0.6032 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009595/0.396, allocations: 6.526 MB / 0.6095 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.4079, allocations: 7.21 MB / 0.6166 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00424/0.4121, allocations: 1.719 MB / 0.6183 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.4175, allocations: 1.918 MB / 0.6201 GB, free: 5.652 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003522/0.421, allocations: 3.655 MB / 0.6237 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008333/0.4294, allocations: 7.003 MB / 0.6305 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02075/0.4501, allocations: 23.68 MB / 0.6537 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4502, allocations: 0 / 0.6537 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4502, allocations: 0 / 0.6537 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004455/0.4506, allocations: 4 kB / 0.6537 GB, free: 3.199 MB / 0.4981 GB 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.03824/0.4889, allocations: 14.81 MB / 0.6681 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4889, allocations: 16.03 kB / 0.6681 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004698/0.4936, allocations: 1.722 MB / 0.6698 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05896/0.5526, allocations: 11.49 MB / 0.681 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/0.5681, allocations: 7.34 MB / 0.6882 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008639/0.569, allocations: 0.895 MB / 0.6891 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004661/0.5736, allocations: 1.172 MB / 0.6902 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04435/0.618, allocations: 18.56 MB / 0.7084 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000573/0.6186, allocations: 23.88 kB / 0.7084 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004076/0.6227, allocations: 0.4921 MB / 0.7089 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007342/0.6235, allocations: 0.6577 MB / 0.7095 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4817/1.105, allocations: 19.07 MB / 0.7281 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07493/1.18, allocations: 60.4 MB / 0.7871 GB, free: 97.48 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.195, allocations: 16.6 MB / 0.8033 GB, free: 80.06 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005583/1.201, allocations: 4.536 MB / 0.8078 GB, free: 75.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/1.201, allocations: 316.3 kB / 0.8081 GB, free: 75.18 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/1.201, allocations: 103.7 kB / 0.8082 GB, free: 75.06 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.574e-06/1.201, allocations: 4 kB / 0.8082 GB, free: 75.06 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01464/1.216, allocations: 12.38 MB / 0.8202 GB, free: 62.48 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.216, allocations: 124.5 kB / 0.8204 GB, free: 62.34 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/1.23, allocations: 8.615 MB / 0.8288 GB, free: 53.79 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.231, allocations: 129.7 kB / 0.8289 GB, free: 53.65 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003519/1.235, allocations: 4.614 MB / 0.8334 GB, free: 49.54 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002373/1.237, allocations: 2.292 MB / 0.8356 GB, free: 47.24 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/1.24, allocations: 1.443 MB / 0.8371 GB, free: 45.79 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/1.24, allocations: 301.1 kB / 0.8373 GB, free: 45.49 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008153/1.248, allocations: 4.102 MB / 0.8414 GB, free: 41.39 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009905/1.258, allocations: 6.913 MB / 0.8481 GB, free: 33.21 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/1.277, allocations: 11.93 MB / 0.8598 GB, free: 19.92 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.084e-05/1.277, allocations: 31.94 kB / 0.8598 GB, free: 19.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02313/1.3, allocations: 12.04 MB / 0.8715 GB, free: 7.746 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/1.301, allocations: 44 kB / 0.8716 GB, free: 7.703 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/1.301, allocations: 99.98 kB / 0.8717 GB, free: 7.605 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/1.301, allocations: 404.9 kB / 0.8721 GB, free: 7.191 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006245/1.308, allocations: 2.001 MB / 0.874 GB, free: 5.188 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/1.314, allocations: 9.591 MB / 0.8834 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/1.321, allocations: 1.4 MB / 0.8847 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.323, allocations: 372 kB / 0.8851 GB, free: 8.98 MB / 0.5763 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.008012/1.331, allocations: 4.578 MB / 0.8896 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.332, allocations: 0.7335 MB / 0.8903 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.349, allocations: 10.6 MB / 0.9006 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/1.349, allocations: 68 kB / 0.9007 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.349, allocations: 3.938 kB / 0.9007 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-05/1.349, allocations: 35.86 kB / 0.9007 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3852/1.734, allocations: 161.4 MB / 1.058 GB, free: 160.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001172/1.734, allocations: 84 kB / 1.058 GB, free: 160.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005036/1.739, allocations: 1.54 MB / 1.06 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007333/1.74, allocations: 384.5 kB / 1.06 GB, free: 158.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004999/1.741, allocations: 248 kB / 1.061 GB, free: 158.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/1.745, allocations: 9.463 MB / 1.07 GB, free: 148 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/1.745, allocations: 135.4 kB / 1.07 GB, free: 147.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.763, allocations: 18.57 MB / 1.088 GB, free: 127.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00398/1.767, allocations: 2.047 MB / 1.09 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/1.769, allocations: 245.9 kB / 1.09 GB, free: 125.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/1.773, allocations: 0.558 MB / 1.091 GB, free: 125.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/1.774, allocations: 0.7301 MB / 1.092 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004641/1.775, allocations: 308 kB / 1.092 GB, free: 124 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007187/1.782, allocations: 6.047 MB / 1.098 GB, free: 118 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/1.782, allocations: 0 / 1.098 GB, free: 118 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008082/1.79, allocations: 2.641 MB / 1.1 GB, free: 115.6 MB / 0.6544 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.01928/1.809, allocations: 19.47 MB / 1.119 GB, free: 94.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.822, allocations: 10.6 MB / 1.13 GB, free: 83.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.947e-05/1.822, allocations: 13.81 kB / 1.13 GB, free: 83.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006624/1.829, allocations: 5.434 MB / 1.135 GB, free: 77.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008826/1.838, allocations: 1.494 MB / 1.136 GB, free: 76.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3732/2.211, allocations: 99.16 MB / 1.233 GB, free: 213.9 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006887/2.218, allocations: 7.779 MB / 1.241 GB, free: 212.9 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.00744/2.225, allocations: 3.562 MB / 1.244 GB, free: 212.6 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005922/2.231, allocations: 4.15 MB / 1.248 GB, free: 210 MB / 0.6701 GB Notification: Performance of SimCode: time 8.81e-07/2.231, allocations: 0 / 1.248 GB, free: 210 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2271/2.458, allocations: 189.3 MB / 1.433 GB, free: 37.56 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.77/28.23, allocations: 7.75 kB / 1.433 GB, free: 37.55 MB / 0.6701 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