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.001089/0.001089, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001139/0.001139, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.1828/0.1828, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01872/0.3019, allocations: 19.74 MB / 0.5377 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3122, allocations: 4.92 MB / 0.5425 GB, free: 460 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.3147, allocations: 161.7 kB / 0.5426 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01532/0.33, allocations: 7.764 MB / 0.5502 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.3366, allocations: 2.206 MB / 0.5524 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.3398, allocations: 1.258 MB / 0.5536 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.3515, allocations: 12.16 MB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02994/0.3815, allocations: 26.06 MB / 0.5909 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/0.3886, allocations: 6.503 MB / 0.5973 GB, free: 11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008867/0.3975, allocations: 7.206 MB / 0.6043 GB, free: 3.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003442/0.4009, allocations: 1.723 MB / 0.606 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.4053, allocations: 1.91 MB / 0.6079 GB, free: 140 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.4085, allocations: 3.651 MB / 0.6114 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008768/0.4172, allocations: 7.011 MB / 0.6183 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.4366, allocations: 23.61 MB / 0.6413 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.4366, allocations: 4 kB / 0.6413 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4367, allocations: 0 / 0.6413 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005683/0.4372, allocations: 0 / 0.6413 GB, free: 13.76 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.03529/0.4725, allocations: 14.57 MB / 0.6556 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4726, allocations: 12.03 kB / 0.6556 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003136/0.4757, allocations: 1.714 MB / 0.6573 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05818/0.5339, allocations: 11.45 MB / 0.6684 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.549, allocations: 7.31 MB / 0.6756 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/0.5497, allocations: 0.8911 MB / 0.6764 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003557/0.5533, allocations: 1.168 MB / 0.6776 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/0.5893, allocations: 18.56 MB / 0.6957 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/0.5897, allocations: 19.81 kB / 0.6957 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/0.5918, allocations: 0.4921 MB / 0.6962 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005503/0.5924, allocations: 0.6616 MB / 0.6969 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03334/0.6257, allocations: 19.08 MB / 0.7155 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4607/1.086, allocations: 59.97 MB / 0.7741 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.102, allocations: 16.61 MB / 0.7903 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/1.107, allocations: 4.528 MB / 0.7947 GB, free: 95.95 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/1.107, allocations: 240.8 kB / 0.7949 GB, free: 95.72 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.107, allocations: 107.6 kB / 0.795 GB, free: 95.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.576e-06/1.107, allocations: 0 / 0.795 GB, free: 95.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01423/1.121, allocations: 12.35 MB / 0.8071 GB, free: 83.04 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.121, allocations: 120.5 kB / 0.8072 GB, free: 82.91 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.132, allocations: 8.603 MB / 0.8156 GB, free: 74.32 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009404/1.133, allocations: 133.7 kB / 0.8157 GB, free: 74.18 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.135, allocations: 4.481 MB / 0.8201 GB, free: 69.68 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.137, allocations: 2.198 MB / 0.8223 GB, free: 67.47 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.139, allocations: 1.443 MB / 0.8237 GB, free: 66.02 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/1.139, allocations: 301.1 kB / 0.8239 GB, free: 65.72 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/1.143, allocations: 4.106 MB / 0.828 GB, free: 61.61 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/1.149, allocations: 6.917 MB / 0.8347 GB, free: 53.43 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.16, allocations: 11.92 MB / 0.8464 GB, free: 40.16 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-05/1.16, allocations: 31.94 kB / 0.8464 GB, free: 40.12 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01469/1.174, allocations: 12 MB / 0.8581 GB, free: 28.01 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/1.174, allocations: 44 kB / 0.8581 GB, free: 27.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/1.174, allocations: 95.94 kB / 0.8582 GB, free: 27.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007665/1.175, allocations: 409 kB / 0.8586 GB, free: 27.46 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005955/1.181, allocations: 2.001 MB / 0.8606 GB, free: 25.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/1.186, allocations: 9.576 MB / 0.8699 GB, free: 15.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.192, allocations: 1.362 MB / 0.8713 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000852/1.193, allocations: 375.9 kB / 0.8716 GB, free: 13.29 MB / 0.5607 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.005493/1.198, allocations: 4.574 MB / 0.8761 GB, free: 8.699 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.199, allocations: 0.7021 MB / 0.8768 GB, free: 7.988 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.213, allocations: 10.6 MB / 0.8871 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/1.213, allocations: 68 kB / 0.8872 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.213, allocations: 7.938 kB / 0.8872 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/1.213, allocations: 31.88 kB / 0.8872 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3787/1.592, allocations: 156.5 MB / 1.04 GB, free: 164.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-05/1.592, allocations: 88 kB / 1.04 GB, free: 164.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004728/1.597, allocations: 1.54 MB / 1.042 GB, free: 163.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/1.597, allocations: 383.5 kB / 1.042 GB, free: 162.8 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.598, allocations: 242 kB / 1.042 GB, free: 162.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/1.602, allocations: 9.459 MB / 1.051 GB, free: 152.4 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.349e-05/1.602, allocations: 131.4 kB / 1.052 GB, free: 152.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.619, allocations: 18.53 MB / 1.07 GB, free: 132.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003966/1.623, allocations: 2.013 MB / 1.072 GB, free: 130.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.624, allocations: 251.9 kB / 1.072 GB, free: 129.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004296/1.628, allocations: 0.5589 MB / 1.072 GB, free: 129.3 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008376/1.629, allocations: 0.7301 MB / 1.073 GB, free: 128.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003999/1.629, allocations: 304 kB / 1.073 GB, free: 128.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006798/1.636, allocations: 6.051 MB / 1.079 GB, free: 122.3 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.01e-07/1.636, allocations: 0 / 1.079 GB, free: 122.3 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.00759/1.644, allocations: 2.613 MB / 1.082 GB, free: 119.7 MB / 0.6388 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.01826/1.662, allocations: 19.43 MB / 1.101 GB, free: 98.13 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.675, allocations: 10.59 MB / 1.111 GB, free: 87.5 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 4.722e-05/1.675, allocations: 12 kB / 1.111 GB, free: 87.48 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.006289/1.681, allocations: 5.442 MB / 1.117 GB, free: 81.98 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00788/1.689, allocations: 1.498 MB / 1.118 GB, free: 80.52 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3397/2.029, allocations: 98.8 MB / 1.215 GB, free: 204 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007574/2.036, allocations: 7.774 MB / 1.222 GB, free: 203 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00713/2.044, allocations: 3.563 MB / 1.226 GB, free: 202.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005061/2.049, allocations: 4.148 MB / 1.23 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.322e-06/2.049, allocations: 3.875 kB / 1.23 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/2.286, allocations: 189.2 MB / 1.414 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.18/30.46, allocations: 15.81 kB / 1.414 GB, free: 36.31 MB / 0.6544 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