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.001739/0.00174, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 79.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2753, allocations: 62.44 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02076/0.2961, allocations: 19.75 MB / 0.5499 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3068, allocations: 4.986 MB / 0.5548 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.3097, allocations: 159.5 kB / 0.5549 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01636/0.3261, allocations: 7.764 MB / 0.5625 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.3329, allocations: 2.055 MB / 0.5645 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.3364, allocations: 1.4 MB / 0.5659 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.3512, allocations: 12.17 MB / 0.5778 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03505/0.3862, allocations: 26.06 MB / 0.6032 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008752/0.395, allocations: 6.503 MB / 0.6096 GB, free: 360 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.4061, allocations: 7.214 MB / 0.6166 GB, free: 9.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003795/0.4099, allocations: 1.723 MB / 0.6183 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.4158, allocations: 1.922 MB / 0.6202 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004627/0.4204, allocations: 3.647 MB / 0.6237 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01039/0.4308, allocations: 7.007 MB / 0.6306 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02621/0.457, allocations: 23.67 MB / 0.6537 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4571, allocations: 0 / 0.6537 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4571, allocations: 7.938 kB / 0.6537 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004651/0.4576, allocations: 0 / 0.6537 GB, free: 3.02 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.03848/0.4961, allocations: 14.82 MB / 0.6682 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4961, allocations: 8.031 kB / 0.6682 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004615/0.5007, allocations: 1.722 MB / 0.6699 GB, free: 2.336 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05947/0.5602, allocations: 11.18 MB / 0.6808 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.5749, allocations: 7.363 MB / 0.688 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008119/0.5758, allocations: 0.8832 MB / 0.6888 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/0.5796, allocations: 1.176 MB / 0.69 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04004/0.6197, allocations: 18.61 MB / 0.7082 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/0.62, allocations: 23.89 kB / 0.7082 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/0.6225, allocations: 496 kB / 0.7087 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006839/0.6232, allocations: 0.6577 MB / 0.7093 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4379/1.061, allocations: 19.14 MB / 0.728 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07406/1.135, allocations: 60.37 MB / 0.7869 GB, free: 97.25 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/1.15, allocations: 16.63 MB / 0.8032 GB, free: 79.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004956/1.155, allocations: 4.548 MB / 0.8076 GB, free: 75.23 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/1.155, allocations: 381.6 kB / 0.808 GB, free: 74.87 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/1.155, allocations: 107.7 kB / 0.8081 GB, free: 74.75 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.564e-06/1.155, allocations: 0 / 0.8081 GB, free: 74.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01453/1.17, allocations: 12.46 MB / 0.8203 GB, free: 62.09 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.17, allocations: 116.5 kB / 0.8204 GB, free: 61.96 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00909/1.179, allocations: 8.609 MB / 0.8288 GB, free: 53.41 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/1.18, allocations: 133.7 kB / 0.8289 GB, free: 53.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/1.182, allocations: 4.611 MB / 0.8334 GB, free: 49.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.183, allocations: 2.302 MB / 0.8357 GB, free: 46.85 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/1.185, allocations: 1.463 MB / 0.8371 GB, free: 45.38 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.847e-05/1.185, allocations: 309.1 kB / 0.8374 GB, free: 45.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.19, allocations: 4.113 MB / 0.8414 GB, free: 40.96 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/1.195, allocations: 6.921 MB / 0.8482 GB, free: 32.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.206, allocations: 11.99 MB / 0.8599 GB, free: 19.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.373e-05/1.206, allocations: 24 kB / 0.8599 GB, free: 19.41 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01471/1.221, allocations: 12.1 MB / 0.8717 GB, free: 7.199 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/1.221, allocations: 44 kB / 0.8717 GB, free: 7.156 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.802e-05/1.221, allocations: 92 kB / 0.8718 GB, free: 7.066 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/1.222, allocations: 412.8 kB / 0.8722 GB, free: 6.645 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006013/1.228, allocations: 2.02 MB / 0.8742 GB, free: 4.621 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/1.235, allocations: 9.591 MB / 0.8836 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/1.241, allocations: 1.381 MB / 0.8849 GB, free: 8.797 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.243, allocations: 392 kB / 0.8853 GB, free: 8.414 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.00761/1.25, allocations: 4.583 MB / 0.8898 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.252, allocations: 0.7335 MB / 0.8905 GB, free: 3.082 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/1.269, allocations: 10.6 MB / 0.9008 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/1.269, allocations: 71.94 kB / 0.9009 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.269, allocations: 11.92 kB / 0.9009 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.467e-05/1.269, allocations: 31.88 kB / 0.9009 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3904/1.66, allocations: 161.5 MB / 1.059 GB, free: 159.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/1.66, allocations: 87.59 kB / 1.059 GB, free: 159.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004854/1.665, allocations: 1.556 MB / 1.06 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000747/1.665, allocations: 380.6 kB / 1.061 GB, free: 157.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004655/1.666, allocations: 259.9 kB / 1.061 GB, free: 157.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/1.67, allocations: 9.458 MB / 1.07 GB, free: 147 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-05/1.671, allocations: 139.4 kB / 1.07 GB, free: 146.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.688, allocations: 18.64 MB / 1.088 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/1.691, allocations: 2.061 MB / 1.09 GB, free: 124.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.692, allocations: 247.9 kB / 1.091 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004167/1.696, allocations: 0.5463 MB / 1.091 GB, free: 124 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008862/1.697, allocations: 0.7379 MB / 1.092 GB, free: 123.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004037/1.698, allocations: 323.9 kB / 1.092 GB, free: 123 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006826/1.704, allocations: 6.047 MB / 1.098 GB, free: 117 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.704, allocations: 0 / 1.098 GB, free: 117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007504/1.712, allocations: 2.645 MB / 1.101 GB, free: 114.5 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.01734/1.729, allocations: 19.54 MB / 1.12 GB, free: 92.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.742, allocations: 10.63 MB / 1.13 GB, free: 82.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.892e-05/1.742, allocations: 12.38 kB / 1.13 GB, free: 82.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006316/1.748, allocations: 5.469 MB / 1.136 GB, free: 76.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008595/1.757, allocations: 1.494 MB / 1.137 GB, free: 75.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3655/2.122, allocations: 99.16 MB / 1.234 GB, free: 213.5 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006285/2.128, allocations: 7.777 MB / 1.241 GB, free: 212.4 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.007056/2.136, allocations: 3.566 MB / 1.245 GB, free: 212.2 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004776/2.14, allocations: 4.205 MB / 1.249 GB, free: 209.5 MB / 0.6701 GB Notification: Performance of SimCode: time 1.162e-06/2.14, allocations: 4 kB / 1.249 GB, free: 209.5 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2208/2.361, allocations: 187.3 MB / 1.432 GB, free: 38.39 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.17/28.53, allocations: 11.19 kB / 1.432 GB, free: 38.39 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