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.001709/0.001709, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, 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.2243/0.2243, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3785, allocations: 62.43 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02249/0.401, allocations: 19.75 MB / 0.5498 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.416, allocations: 4.986 MB / 0.5547 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006285/0.4223, allocations: 159.5 kB / 0.5548 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01961/0.442, allocations: 7.762 MB / 0.5624 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.4513, allocations: 2.047 MB / 0.5644 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005194/0.4566, allocations: 1.409 MB / 0.5658 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01724/0.4738, allocations: 12.18 MB / 0.5777 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04838/0.5222, allocations: 26.06 MB / 0.6031 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.5345, allocations: 6.53 MB / 0.6095 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.5475, allocations: 7.202 MB / 0.6165 GB, free: 9.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005897/0.5534, allocations: 1.727 MB / 0.6182 GB, free: 7.543 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.5606, allocations: 1.914 MB / 0.6201 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007366/0.568, allocations: 3.651 MB / 0.6236 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01515/0.5832, allocations: 7.007 MB / 0.6305 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03433/0.6176, allocations: 23.62 MB / 0.6536 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.6176, allocations: 4 kB / 0.6536 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6176, allocations: 0 / 0.6536 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009611/0.6186, allocations: 0 / 0.6536 GB, free: 3.238 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.05046/0.6691, allocations: 14.56 MB / 0.6678 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.6692, allocations: 8.031 kB / 0.6678 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008356/0.6775, allocations: 1.726 MB / 0.6695 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06134/0.7389, allocations: 11.43 MB / 0.6806 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/0.754, allocations: 7.318 MB / 0.6878 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009055/0.7549, allocations: 0.8832 MB / 0.6887 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004431/0.7594, allocations: 1.179 MB / 0.6898 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0466/0.806, allocations: 18.56 MB / 0.7079 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004959/0.8066, allocations: 27.8 kB / 0.708 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003718/0.8103, allocations: 492 kB / 0.7084 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006399/0.8109, allocations: 0.6539 MB / 0.7091 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5862/1.397, allocations: 19.08 MB / 0.7277 GB, free: 144.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09697/1.494, allocations: 60.23 MB / 0.7865 GB, free: 97.62 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.511, allocations: 16.61 MB / 0.8027 GB, free: 80.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/1.517, allocations: 4.528 MB / 0.8071 GB, free: 75.65 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/1.518, allocations: 322 kB / 0.8075 GB, free: 75.32 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/1.518, allocations: 103.7 kB / 0.8076 GB, free: 75.21 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.123e-06/1.518, allocations: 0 / 0.8076 GB, free: 75.21 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01505/1.533, allocations: 12.35 MB / 0.8196 GB, free: 62.65 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.533, allocations: 120.5 kB / 0.8197 GB, free: 62.52 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009468/1.542, allocations: 8.603 MB / 0.8281 GB, free: 53.93 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008406/1.543, allocations: 133.7 kB / 0.8283 GB, free: 53.79 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.546, allocations: 4.48 MB / 0.8326 GB, free: 49.29 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.547, allocations: 2.194 MB / 0.8348 GB, free: 47.11 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/1.55, allocations: 1.435 MB / 0.8362 GB, free: 45.67 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/1.55, allocations: 305.1 kB / 0.8365 GB, free: 45.37 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.555, allocations: 4.102 MB / 0.8405 GB, free: 41.26 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/1.561, allocations: 6.909 MB / 0.8472 GB, free: 33.09 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.577, allocations: 11.93 MB / 0.8589 GB, free: 19.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.973e-05/1.577, allocations: 31.94 kB / 0.8589 GB, free: 19.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02849/1.606, allocations: 12 MB / 0.8706 GB, free: 7.652 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/1.606, allocations: 47.98 kB / 0.8707 GB, free: 7.605 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.606, allocations: 92 kB / 0.8708 GB, free: 7.516 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/1.607, allocations: 412.8 kB / 0.8712 GB, free: 7.094 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009909/1.617, allocations: 2.004 MB / 0.8731 GB, free: 5.086 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/1.626, allocations: 9.59 MB / 0.8825 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.637, allocations: 1.362 MB / 0.8838 GB, free: 9.277 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/1.639, allocations: 376 kB / 0.8842 GB, free: 8.91 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.01249/1.651, allocations: 4.577 MB / 0.8886 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/1.654, allocations: 0.706 MB / 0.8893 GB, free: 3.605 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/1.678, allocations: 10.59 MB / 0.8997 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/1.679, allocations: 64 kB / 0.8997 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-05/1.679, allocations: 11.94 kB / 0.8997 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/1.679, allocations: 35.86 kB / 0.8998 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5768/2.256, allocations: 161.3 MB / 1.057 GB, free: 160.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003132/2.256, allocations: 84 kB / 1.057 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005674/2.262, allocations: 1.536 MB / 1.059 GB, free: 159.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/2.263, allocations: 384.5 kB / 1.059 GB, free: 158.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/2.264, allocations: 247.7 kB / 1.059 GB, free: 158.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/2.269, allocations: 9.46 MB / 1.069 GB, free: 148.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/2.269, allocations: 131.4 kB / 1.069 GB, free: 148.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/2.29, allocations: 18.52 MB / 1.087 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005513/2.296, allocations: 2.015 MB / 1.089 GB, free: 126.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002685/2.299, allocations: 239.9 kB / 1.089 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006349/2.305, allocations: 0.5541 MB / 1.09 GB, free: 125.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/2.307, allocations: 0.734 MB / 1.09 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001296/2.308, allocations: 308 kB / 1.091 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01285/2.321, allocations: 6.047 MB / 1.097 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/2.321, allocations: 0 / 1.097 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01084/2.332, allocations: 2.622 MB / 1.099 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.02452/2.357, allocations: 19.43 MB / 1.118 GB, free: 94.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01565/2.372, allocations: 10.6 MB / 1.128 GB, free: 83.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.671e-05/2.373, allocations: 12 kB / 1.129 GB, free: 83.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008245/2.381, allocations: 5.438 MB / 1.134 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/2.394, allocations: 1.479 MB / 1.135 GB, free: 76.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4937/2.888, allocations: 98.81 MB / 1.232 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009431/2.898, allocations: 7.779 MB / 1.239 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009155/2.907, allocations: 3.561 MB / 1.243 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007256/2.914, allocations: 4.155 MB / 1.247 GB, free: 209.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.884e-06/2.914, allocations: 0 / 1.247 GB, free: 209.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/3.185, allocations: 190.6 MB / 1.433 GB, free: 36.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.43/30.61, allocations: 11.92 kB / 1.433 GB, free: 36.58 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches