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.001528/0.001528, allocations: 106.6 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 75.62 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01931/0.1317, allocations: 19.42 MB / 499 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1425, allocations: 4.919 MB / 0.4921 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.1465, allocations: 155.5 kB / 0.4923 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.1634, allocations: 7.365 MB / 0.4995 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007901/0.1713, allocations: 1.865 MB / 0.5013 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.1755, allocations: 1.288 MB / 0.5025 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2009/0.3764, allocations: 12.08 MB / 0.5143 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03709/0.4135, allocations: 30.14 MB / 0.5438 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008712/0.4223, allocations: 6.575 MB / 0.5502 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009475/0.4318, allocations: 7.292 MB / 0.5573 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006467/0.4383, allocations: 1.982 MB / 0.5592 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005571/0.4439, allocations: 1.927 MB / 0.5611 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.4485, allocations: 3.648 MB / 0.5647 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.4598, allocations: 7.01 MB / 0.5715 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02135/0.4812, allocations: 23.47 MB / 0.5945 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4812, allocations: 4 kB / 0.5945 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4812, allocations: 0 / 0.5945 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005069/0.4817, allocations: 0 / 0.5945 GB, free: 12.16 MB / 446.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.0361/0.5178, allocations: 14.56 MB / 0.6087 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5179, allocations: 12.03 kB / 0.6087 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003907/0.5218, allocations: 1.721 MB / 0.6104 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05937/0.5812, allocations: 11.44 MB / 0.6215 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/0.595, allocations: 7.09 MB / 0.6285 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008188/0.5958, allocations: 0.8839 MB / 0.6293 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004347/0.6002, allocations: 1.17 MB / 0.6305 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03977/0.64, allocations: 18.57 MB / 0.6486 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002892/0.6403, allocations: 15.91 kB / 0.6486 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/0.6421, allocations: 490.1 kB / 0.6491 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005631/0.6427, allocations: 0.6577 MB / 0.6497 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03576/0.6785, allocations: 19.08 MB / 0.6684 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.425/1.104, allocations: 60.91 MB / 0.7278 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/1.12, allocations: 16.61 MB / 0.7441 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/1.125, allocations: 4.517 MB / 0.7485 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/1.126, allocations: 325.2 kB / 0.7488 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.126, allocations: 106.9 kB / 0.7489 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.067e-06/1.126, allocations: 0 / 0.7489 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01676/1.143, allocations: 12.35 MB / 0.7609 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.143, allocations: 121.5 kB / 0.7611 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.153, allocations: 8.612 MB / 0.7695 GB, free: 112 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009189/1.154, allocations: 134.5 kB / 0.7696 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002516/1.157, allocations: 4.48 MB / 0.774 GB, free: 108 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.159, allocations: 2.187 MB / 0.7761 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001967/1.161, allocations: 1.438 MB / 0.7775 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.491e-05/1.161, allocations: 301.1 kB / 0.7778 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004872/1.166, allocations: 4.106 MB / 0.7818 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/1.172, allocations: 6.908 MB / 0.7886 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.183, allocations: 11.93 MB / 0.8002 GB, free: 83.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.674e-05/1.183, allocations: 28 kB / 0.8002 GB, free: 83.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01989/1.203, allocations: 12.01 MB / 0.812 GB, free: 71.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/1.203, allocations: 46.66 kB / 0.812 GB, free: 71.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.203, allocations: 92 kB / 0.8121 GB, free: 71.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008492/1.204, allocations: 412.8 kB / 0.8125 GB, free: 70.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006913/1.211, allocations: 2.005 MB / 0.8144 GB, free: 68.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/1.216, allocations: 9.591 MB / 0.8238 GB, free: 58.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007637/1.224, allocations: 1.354 MB / 0.8251 GB, free: 57.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.225, allocations: 372 kB / 0.8255 GB, free: 56.76 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.007037/1.232, allocations: 4.582 MB / 0.83 GB, free: 52.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.234, allocations: 0.6982 MB / 0.8306 GB, free: 51.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.248, allocations: 10.61 MB / 0.841 GB, free: 40.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/1.248, allocations: 68 kB / 0.8411 GB, free: 40.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.248, allocations: 4 kB / 0.8411 GB, free: 40.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/1.248, allocations: 39.8 kB / 0.8411 GB, free: 40.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.397/1.645, allocations: 161.4 MB / 0.9988 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001078/1.645, allocations: 87.98 kB / 0.9988 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005034/1.65, allocations: 1.536 MB / 1 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007989/1.651, allocations: 384.5 kB / 1.001 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005229/1.651, allocations: 244 kB / 1.001 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/1.656, allocations: 9.458 MB / 1.01 GB, free: 141 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/1.656, allocations: 131.4 kB / 1.01 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/1.674, allocations: 18.53 MB / 1.028 GB, free: 120.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004785/1.679, allocations: 2.012 MB / 1.03 GB, free: 118.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/1.681, allocations: 247.8 kB / 1.031 GB, free: 118.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004977/1.686, allocations: 0.5541 MB / 1.031 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.687, allocations: 0.7301 MB / 1.032 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004664/1.687, allocations: 314.5 kB / 1.032 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009636/1.697, allocations: 6.047 MB / 1.038 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.81e-07/1.697, allocations: 2.719 kB / 1.038 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009725/1.707, allocations: 2.617 MB / 1.041 GB, free: 108.2 MB / 0.5763 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.01865/1.725, allocations: 19.43 MB / 1.06 GB, free: 86.69 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02857/1.754, allocations: 16.71 MB / 1.076 GB, free: 69.98 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.295e-05/1.754, allocations: 16.5 kB / 1.076 GB, free: 69.96 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007719/1.762, allocations: 5.444 MB / 1.081 GB, free: 64.46 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009819/1.772, allocations: 1.488 MB / 1.083 GB, free: 63.02 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3755/2.147, allocations: 147.4 MB / 1.227 GB, free: 123.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006867/2.154, allocations: 7.772 MB / 1.234 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00877/2.163, allocations: 3.562 MB / 1.238 GB, free: 116.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006867/2.17, allocations: 4.159 MB / 1.242 GB, free: 112 MB / 0.5763 GB Notification: Performance of SimCode: time 1.112e-06/2.17, allocations: 0 / 1.242 GB, free: 112 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/2.588, allocations: 194.2 MB / 1.431 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.588, allocations: 239 kB / 1.432 GB, free: 140.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.013/8.601, allocations: 0 / 1.432 GB, free: 140.1 MB / 0.5763 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