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.001142/0.001142, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02188/0.3828, allocations: 19.75 MB / 0.5498 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3978, allocations: 4.988 MB / 0.5547 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005586/0.4034, allocations: 163.4 kB / 0.5548 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01755/0.421, allocations: 7.76 MB / 0.5624 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009224/0.4302, allocations: 2.051 MB / 0.5644 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004574/0.4348, allocations: 1.404 MB / 0.5658 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01515/0.45, allocations: 12.17 MB / 0.5777 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03593/0.486, allocations: 26.06 MB / 0.6031 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.4964, allocations: 6.53 MB / 0.6095 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.5079, allocations: 7.21 MB / 0.6165 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004628/0.5126, allocations: 1.719 MB / 0.6182 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006627/0.5193, allocations: 1.922 MB / 0.6201 GB, free: 5.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006052/0.5253, allocations: 3.643 MB / 0.6236 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01196/0.5373, allocations: 7.015 MB / 0.6305 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.5635, allocations: 23.62 MB / 0.6536 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.5636, allocations: 4 kB / 0.6536 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5636, allocations: 0 / 0.6536 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007388/0.5643, allocations: 0 / 0.6536 GB, free: 3.266 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.04333/0.6077, allocations: 14.57 MB / 0.6678 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6077, allocations: 12.02 kB / 0.6678 GB, free: 4.582 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005974/0.6137, allocations: 1.718 MB / 0.6695 GB, free: 2.852 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05872/0.6725, allocations: 11.44 MB / 0.6806 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.6913, allocations: 7.322 MB / 0.6878 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000888/0.6922, allocations: 0.8871 MB / 0.6887 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005404/0.6977, allocations: 1.172 MB / 0.6898 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04439/0.7421, allocations: 18.56 MB / 0.7079 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/0.7425, allocations: 19.81 kB / 0.7079 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003644/0.7462, allocations: 496 kB / 0.7084 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006838/0.7469, allocations: 0.6538 MB / 0.7091 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5612/1.308, allocations: 19.08 MB / 0.7277 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09514/1.403, allocations: 60.22 MB / 0.7865 GB, free: 97.65 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/1.421, allocations: 16.61 MB / 0.8027 GB, free: 80.23 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005906/1.427, allocations: 4.524 MB / 0.8071 GB, free: 75.68 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/1.427, allocations: 327.1 kB / 0.8075 GB, free: 75.35 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.875e-05/1.427, allocations: 103.7 kB / 0.8075 GB, free: 75.23 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.256e-06/1.427, allocations: 0 / 0.8075 GB, free: 75.23 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01553/1.443, allocations: 12.35 MB / 0.8196 GB, free: 62.67 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.443, allocations: 116.5 kB / 0.8197 GB, free: 62.54 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.453, allocations: 8.607 MB / 0.8281 GB, free: 53.95 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001149/1.455, allocations: 133.7 kB / 0.8283 GB, free: 53.81 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.457, allocations: 4.481 MB / 0.8326 GB, free: 49.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.459, allocations: 2.186 MB / 0.8348 GB, free: 47.12 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/1.461, allocations: 1.439 MB / 0.8362 GB, free: 45.68 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/1.461, allocations: 305.1 kB / 0.8365 GB, free: 45.38 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.466, allocations: 4.105 MB / 0.8405 GB, free: 41.27 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/1.472, allocations: 6.909 MB / 0.8472 GB, free: 33.09 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/1.485, allocations: 11.93 MB / 0.8589 GB, free: 19.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.486, allocations: 28 kB / 0.8589 GB, free: 19.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01776/1.503, allocations: 12 MB / 0.8706 GB, free: 7.66 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/1.503, allocations: 47.94 kB / 0.8707 GB, free: 7.613 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.504, allocations: 92 kB / 0.8708 GB, free: 7.523 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/1.505, allocations: 412.8 kB / 0.8711 GB, free: 7.102 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/1.511, allocations: 2.001 MB / 0.8731 GB, free: 5.098 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/1.518, allocations: 9.606 MB / 0.8825 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007496/1.525, allocations: 1.354 MB / 0.8838 GB, free: 9.281 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.527, allocations: 372 kB / 0.8842 GB, free: 8.918 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.01119/1.538, allocations: 4.582 MB / 0.8886 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002802/1.541, allocations: 0.7021 MB / 0.8893 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02123/1.562, allocations: 10.59 MB / 0.8997 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/1.562, allocations: 64 kB / 0.8997 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.783e-05/1.562, allocations: 7.938 kB / 0.8997 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001239/1.562, allocations: 35.81 kB / 0.8998 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4679/2.03, allocations: 161.3 MB / 1.057 GB, free: 160.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000146/2.031, allocations: 84 kB / 1.057 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005463/2.036, allocations: 1.54 MB / 1.059 GB, free: 159.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/2.037, allocations: 383.9 kB / 1.059 GB, free: 158.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008758/2.038, allocations: 244 kB / 1.059 GB, free: 158.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/2.042, allocations: 9.458 MB / 1.069 GB, free: 148.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.225e-05/2.043, allocations: 131.4 kB / 1.069 GB, free: 148.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/2.063, allocations: 18.53 MB / 1.087 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006592/2.07, allocations: 2.015 MB / 1.089 GB, free: 126.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002248/2.072, allocations: 243.8 kB / 1.089 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006024/2.078, allocations: 0.5577 MB / 1.09 GB, free: 125.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/2.079, allocations: 0.7301 MB / 1.09 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005119/2.08, allocations: 308 kB / 1.091 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00801/2.088, allocations: 6.047 MB / 1.097 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.51e-07/2.088, allocations: 4 kB / 1.097 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008557/2.096, allocations: 2.621 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.01797/2.114, allocations: 19.42 MB / 1.118 GB, free: 94.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01178/2.126, allocations: 10.6 MB / 1.128 GB, free: 83.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.001e-05/2.126, allocations: 12 kB / 1.128 GB, free: 83.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005919/2.132, allocations: 5.437 MB / 1.134 GB, free: 77.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/2.14, allocations: 1.491 MB / 1.135 GB, free: 76.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4056/2.545, allocations: 98.81 MB / 1.232 GB, free: 213.8 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008462/2.554, allocations: 7.774 MB / 1.239 GB, free: 212.8 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.00787/2.562, allocations: 3.561 MB / 1.243 GB, free: 212.5 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005078/2.567, allocations: 4.158 MB / 1.247 GB, free: 210.1 MB / 0.6701 GB Notification: Performance of SimCode: time 6.71e-07/2.567, allocations: 0 / 1.247 GB, free: 210.1 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/2.907, allocations: 190.6 MB / 1.433 GB, free: 36.72 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.76/30.66, allocations: 7.109 kB / 1.433 GB, free: 36.71 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 & /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