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.00113/0.00113, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.00134, allocations: 202 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.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2914, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01902/0.3104, allocations: 19.76 MB / 0.5498 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3208, allocations: 4.98 MB / 0.5547 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003406/0.3242, allocations: 159.5 kB / 0.5548 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01643/0.3407, allocations: 7.791 MB / 0.5624 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.348, allocations: 2.067 MB / 0.5645 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.3519, allocations: 1.406 MB / 0.5658 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01305/0.365, allocations: 12.18 MB / 0.5777 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03296/0.398, allocations: 26.06 MB / 0.6032 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008472/0.4065, allocations: 6.53 MB / 0.6095 GB, free: 384 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009719/0.4162, allocations: 7.21 MB / 0.6166 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003865/0.4201, allocations: 1.719 MB / 0.6183 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.4252, allocations: 1.918 MB / 0.6201 GB, free: 5.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.4298, allocations: 3.651 MB / 0.6237 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01056/0.4404, allocations: 7.003 MB / 0.6305 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02448/0.4649, allocations: 23.68 MB / 0.6537 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4649, allocations: 4 kB / 0.6537 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.465, allocations: 4 kB / 0.6537 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005717/0.4655, allocations: 0 / 0.6537 GB, free: 3.047 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.03957/0.5051, allocations: 14.81 MB / 0.6681 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5052, allocations: 12.03 kB / 0.6681 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005016/0.5102, allocations: 1.726 MB / 0.6698 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0618/0.572, allocations: 11.49 MB / 0.6811 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/0.5902, allocations: 7.34 MB / 0.6882 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009694/0.5912, allocations: 0.8911 MB / 0.6891 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004503/0.5957, allocations: 1.168 MB / 0.6902 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04331/0.639, allocations: 18.56 MB / 0.7084 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005118/0.6396, allocations: 31.89 kB / 0.7084 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003565/0.6432, allocations: 492 kB / 0.7089 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006918/0.6439, allocations: 0.6578 MB / 0.7095 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4449/1.089, allocations: 19.07 MB / 0.7281 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09191/1.181, allocations: 60.41 MB / 0.7871 GB, free: 97.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/1.198, allocations: 16.6 MB / 0.8033 GB, free: 79.72 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005871/1.204, allocations: 4.528 MB / 0.8078 GB, free: 75.17 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/1.204, allocations: 321.7 kB / 0.8081 GB, free: 74.84 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.705e-05/1.204, allocations: 103.7 kB / 0.8082 GB, free: 74.73 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.137e-05/1.204, allocations: 0 / 0.8082 GB, free: 74.73 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01723/1.222, allocations: 12.39 MB / 0.8203 GB, free: 62.13 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.222, allocations: 116.5 kB / 0.8204 GB, free: 62 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/1.233, allocations: 8.611 MB / 0.8288 GB, free: 53.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008667/1.234, allocations: 133.7 kB / 0.8289 GB, free: 53.32 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00264/1.237, allocations: 4.611 MB / 0.8334 GB, free: 49.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.239, allocations: 2.295 MB / 0.8357 GB, free: 46.93 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/1.241, allocations: 1.443 MB / 0.8371 GB, free: 45.48 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/1.241, allocations: 301.1 kB / 0.8373 GB, free: 45.19 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/1.246, allocations: 4.109 MB / 0.8414 GB, free: 41.07 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/1.252, allocations: 6.906 MB / 0.8481 GB, free: 32.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.264, allocations: 11.94 MB / 0.8598 GB, free: 19.61 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.109e-05/1.264, allocations: 24 kB / 0.8598 GB, free: 19.59 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01607/1.28, allocations: 12.04 MB / 0.8715 GB, free: 7.434 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/1.28, allocations: 44 kB / 0.8716 GB, free: 7.391 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.28, allocations: 88 kB / 0.8717 GB, free: 7.305 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/1.281, allocations: 416.9 kB / 0.8721 GB, free: 6.879 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006728/1.288, allocations: 2.004 MB / 0.874 GB, free: 4.871 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/1.294, allocations: 9.595 MB / 0.8834 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007439/1.302, allocations: 1.389 MB / 0.8848 GB, free: 9.035 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.303, allocations: 379.9 kB / 0.8851 GB, free: 8.664 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.008043/1.311, allocations: 4.582 MB / 0.8896 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.313, allocations: 0.7335 MB / 0.8903 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.33, allocations: 10.59 MB / 0.9007 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/1.33, allocations: 72 kB / 0.9007 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/1.33, allocations: 3.938 kB / 0.9007 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/1.33, allocations: 31.88 kB / 0.9008 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3896/1.72, allocations: 161.4 MB / 1.058 GB, free: 159.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001225/1.72, allocations: 88 kB / 1.058 GB, free: 159.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005172/1.725, allocations: 1.54 MB / 1.06 GB, free: 158.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007572/1.726, allocations: 384.6 kB / 1.06 GB, free: 157.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005347/1.727, allocations: 243.7 kB / 1.061 GB, free: 157.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004683/1.731, allocations: 9.46 MB / 1.07 GB, free: 147.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-05/1.731, allocations: 131.4 kB / 1.07 GB, free: 147.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.749, allocations: 18.57 MB / 1.088 GB, free: 127.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004703/1.754, allocations: 2.053 MB / 1.09 GB, free: 125.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.756, allocations: 243.9 kB / 1.09 GB, free: 125.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005412/1.761, allocations: 0.5541 MB / 1.091 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/1.762, allocations: 0.734 MB / 1.092 GB, free: 123.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005542/1.763, allocations: 308 kB / 1.092 GB, free: 123.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008107/1.771, allocations: 6.047 MB / 1.098 GB, free: 117.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/1.771, allocations: 0 / 1.098 GB, free: 117.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00896/1.78, allocations: 2.638 MB / 1.1 GB, free: 115.1 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.02289/1.803, allocations: 19.47 MB / 1.119 GB, free: 93.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.817, allocations: 10.6 MB / 1.13 GB, free: 82.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.659e-05/1.817, allocations: 12 kB / 1.13 GB, free: 82.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007261/1.825, allocations: 5.442 MB / 1.135 GB, free: 77.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/1.836, allocations: 1.485 MB / 1.136 GB, free: 75.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3911/2.227, allocations: 99.17 MB / 1.233 GB, free: 213.7 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007286/2.234, allocations: 7.779 MB / 1.241 GB, free: 212.7 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.007856/2.242, allocations: 3.567 MB / 1.244 GB, free: 212.4 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006011/2.248, allocations: 4.146 MB / 1.248 GB, free: 209.8 MB / 0.6701 GB Notification: Performance of SimCode: time 8.92e-07/2.248, allocations: 3.969 kB / 1.248 GB, free: 209.8 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/2.466, allocations: 189.3 MB / 1.433 GB, free: 37.08 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.35/28.81, allocations: 0 / 1.433 GB, free: 37.08 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