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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 100.1 kB / 17.63 MB, free: 5.523 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.001118/0.001118, allocations: 195.9 kB / 18.56 MB, free: 4.598 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1998/0.1998, allocations: 44.17 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 61.02 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 60.84 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02038/0.1406, allocations: 19.73 MB / 489.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.1527, allocations: 4.908 MB / 494 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.1568, allocations: 163.5 kB / 494.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01705/0.1739, allocations: 7.764 MB / 0.4902 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.1815, allocations: 2.202 MB / 0.4923 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.1854, allocations: 1.263 MB / 0.4936 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2069/0.3923, allocations: 12.06 MB / 0.5053 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04014/0.4325, allocations: 26.18 MB / 0.5309 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009209/0.4417, allocations: 6.495 MB / 0.5372 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/0.453, allocations: 7.279 MB / 0.5443 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004507/0.4575, allocations: 1.723 MB / 0.546 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005966/0.4635, allocations: 1.913 MB / 0.5479 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.4688, allocations: 3.649 MB / 0.5515 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.48, allocations: 7.012 MB / 0.5583 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02351/0.5035, allocations: 23.47 MB / 0.5812 GB, free: 9.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5036, allocations: 0 / 0.5812 GB, free: 9.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5036, allocations: 0 / 0.5812 GB, free: 9.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006672/0.5042, allocations: 0 / 0.5812 GB, free: 9.398 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.04267/0.5469, allocations: 14.55 MB / 0.5954 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.547, allocations: 12.02 kB / 0.5955 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005132/0.5521, allocations: 1.72 MB / 0.5971 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06105/0.6132, allocations: 11.43 MB / 0.6083 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.6282, allocations: 7.088 MB / 0.6152 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009827/0.6292, allocations: 0.8923 MB / 0.6161 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004815/0.6341, allocations: 1.171 MB / 0.6172 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04026/0.6743, allocations: 18.56 MB / 0.6354 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/0.6747, allocations: 11.91 kB / 0.6354 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002517/0.6772, allocations: 0.4886 MB / 0.6359 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006111/0.6778, allocations: 0.6577 MB / 0.6365 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/0.7139, allocations: 19.08 MB / 0.6551 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4647/1.179, allocations: 60.66 MB / 0.7144 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.198, allocations: 16.6 MB / 0.7306 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006284/1.204, allocations: 4.52 MB / 0.735 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/1.205, allocations: 240 kB / 0.7352 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.205, allocations: 106.7 kB / 0.7353 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.935e-06/1.205, allocations: 3.938 kB / 0.7353 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01676/1.222, allocations: 12.35 MB / 0.7474 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.222, allocations: 118 kB / 0.7475 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.233, allocations: 8.61 MB / 0.7559 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.234, allocations: 132 kB / 0.756 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.237, allocations: 4.488 MB / 0.7604 GB, free: 123 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/1.239, allocations: 2.186 MB / 0.7625 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/1.241, allocations: 1.44 MB / 0.764 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/1.241, allocations: 304.9 kB / 0.7642 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005169/1.246, allocations: 4.1 MB / 0.7682 GB, free: 119 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006664/1.252, allocations: 6.913 MB / 0.775 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.265, allocations: 11.93 MB / 0.7867 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.493e-05/1.265, allocations: 23.34 kB / 0.7867 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02054/1.286, allocations: 12 MB / 0.7984 GB, free: 92.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.286, allocations: 48 kB / 0.7984 GB, free: 92.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/1.286, allocations: 88 kB / 0.7985 GB, free: 92.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.287, allocations: 412.9 kB / 0.7989 GB, free: 91.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007127/1.295, allocations: 2.012 MB / 0.8009 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005707/1.3, allocations: 9.59 MB / 0.8102 GB, free: 79.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007476/1.308, allocations: 1.35 MB / 0.8116 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.309, allocations: 376.9 kB / 0.8119 GB, free: 77.8 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.008148/1.317, allocations: 4.582 MB / 0.8164 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/1.319, allocations: 0.6982 MB / 0.8171 GB, free: 72.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/1.336, allocations: 10.61 MB / 0.8274 GB, free: 61.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/1.336, allocations: 68 kB / 0.8275 GB, free: 61.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.336, allocations: 0 / 0.8275 GB, free: 61.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/1.336, allocations: 35.86 kB / 0.8275 GB, free: 61.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3689/1.705, allocations: 156.6 MB / 0.9805 GB, free: 155.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002648/1.705, allocations: 84 kB / 0.9806 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005514/1.711, allocations: 1.543 MB / 0.9821 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007467/1.712, allocations: 391.5 kB / 0.9824 GB, free: 153.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007631/1.712, allocations: 243.3 kB / 0.9827 GB, free: 153.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/1.717, allocations: 9.457 MB / 0.9919 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.058e-05/1.717, allocations: 135.4 kB / 0.992 GB, free: 143 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/1.737, allocations: 18.53 MB / 1.01 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/1.741, allocations: 2.015 MB / 1.012 GB, free: 120.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.742, allocations: 243.9 kB / 1.012 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004625/1.747, allocations: 0.558 MB / 1.013 GB, free: 120 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008583/1.748, allocations: 0.7262 MB / 1.014 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004001/1.748, allocations: 312 kB / 1.014 GB, free: 119 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007393/1.756, allocations: 6.044 MB / 1.02 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.71e-07/1.756, allocations: 0 / 1.02 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009062/1.765, allocations: 2.632 MB / 1.022 GB, free: 110.3 MB / 0.5607 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.02207/1.787, allocations: 19.41 MB / 1.041 GB, free: 88.79 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02686/1.814, allocations: 16.72 MB / 1.058 GB, free: 72.06 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.886e-05/1.814, allocations: 17.94 kB / 1.058 GB, free: 72.04 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007353/1.821, allocations: 5.44 MB / 1.063 GB, free: 66.54 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009736/1.831, allocations: 1.496 MB / 1.064 GB, free: 65.09 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3739/2.205, allocations: 143.5 MB / 1.205 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.216, allocations: 7.769 MB / 1.212 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009589/2.225, allocations: 3.561 MB / 1.216 GB, free: 133.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007021/2.232, allocations: 4.156 MB / 1.22 GB, free: 130 MB / 0.5763 GB Notification: Performance of SimCode: time 8.21e-07/2.232, allocations: 0 / 1.22 GB, free: 130 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6288/2.861, allocations: 194.5 MB / 1.41 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/17.82, allocations: 6.266 kB / 1.41 GB, free: 178.1 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > 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