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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002125/0.002125, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2657/0.2657, allocations: 46.89 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.86 kB / 0.4912 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 65.98 MB / 0.5557 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02304/0.164, allocations: 19.84 MB / 0.5751 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.1789, allocations: 4.982 MB / 0.5799 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005869/0.1848, allocations: 167.4 kB / 0.5801 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0244/0.2092, allocations: 7.843 MB / 0.5877 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.2207, allocations: 2.062 MB / 0.5898 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007077/0.2278, allocations: 1.392 MB / 0.5911 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2953/0.523, allocations: 12.17 MB / 0.603 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0333/0.5563, allocations: 20.25 MB / 0.6228 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.5677, allocations: 6.526 MB / 0.6292 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/0.58, allocations: 7.282 MB / 0.6363 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004991/0.585, allocations: 1.719 MB / 0.6379 GB, free: 3.883 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00709/0.5921, allocations: 1.922 MB / 0.6398 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008722/0.6008, allocations: 3.995 MB / 0.6437 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.6148, allocations: 7.046 MB / 0.6506 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03123/0.646, allocations: 23.68 MB / 0.6737 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.646, allocations: 0 / 0.6737 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.646, allocations: 4 kB / 0.6737 GB, free: 3.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006303/0.6467, allocations: 0 / 0.6737 GB, free: 3.152 MB / 494.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.04548/0.6921, allocations: 14.82 MB / 0.6882 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6922, allocations: 12.03 kB / 0.6882 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00698/0.6992, allocations: 1.721 MB / 0.6899 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06057/0.7597, allocations: 11.17 MB / 0.7008 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.7791, allocations: 7.367 MB / 0.708 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/0.7802, allocations: 0.8868 MB / 0.7089 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005011/0.7852, allocations: 1.174 MB / 0.71 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05495/0.8402, allocations: 18.61 MB / 0.7282 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008687/0.8411, allocations: 19.89 kB / 0.7282 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005783/0.8468, allocations: 497.9 kB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008014/0.8476, allocations: 0.6577 MB / 0.7293 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/0.8916, allocations: 19.14 MB / 0.748 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.028, allocations: 60.37 MB / 0.807 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02657/1.055, allocations: 16.12 MB / 0.8227 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009314/1.064, allocations: 4.216 MB / 0.8268 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.065, allocations: 394 kB / 0.8272 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/1.066, allocations: 103.7 kB / 0.8273 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 2.638e-05/1.066, allocations: 0 / 0.8273 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6176/1.683, allocations: 12.45 MB / 0.8395 GB, free: 162.1 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.683, allocations: 122.3 kB / 0.8396 GB, free: 162 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01954/1.703, allocations: 8.608 MB / 0.848 GB, free: 161.6 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001382/1.704, allocations: 135 kB / 0.8481 GB, free: 161.6 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004654/1.709, allocations: 4.613 MB / 0.8526 GB, free: 160.4 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002627/1.712, allocations: 2.293 MB / 0.8549 GB, free: 159.2 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002623/1.714, allocations: 1.466 MB / 0.8563 GB, free: 159.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/1.714, allocations: 303.8 kB / 0.8566 GB, free: 158.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006123/1.72, allocations: 4.113 MB / 0.8606 GB, free: 157.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007907/1.728, allocations: 6.929 MB / 0.8674 GB, free: 153.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.742, allocations: 11.97 MB / 0.8791 GB, free: 146.2 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/1.742, allocations: 26.41 kB / 0.8791 GB, free: 146.2 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.018/1.76, allocations: 12.1 MB / 0.8909 GB, free: 142.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/1.76, allocations: 42.38 kB / 0.891 GB, free: 142.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.76, allocations: 93.53 kB / 0.891 GB, free: 142.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/1.761, allocations: 414.1 kB / 0.8914 GB, free: 142.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00673/1.768, allocations: 2.022 MB / 0.8934 GB, free: 142 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005333/1.773, allocations: 9.592 MB / 0.9028 GB, free: 133.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007474/1.781, allocations: 1.382 MB / 0.9041 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.783, allocations: 389.7 kB / 0.9045 GB, free: 132.7 MB / 0.6388 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.009017/1.792, allocations: 4.574 MB / 0.909 GB, free: 130.7 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/1.793, allocations: 0.7388 MB / 0.9097 GB, free: 130.3 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.809, allocations: 10.6 MB / 0.92 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.809, allocations: 71.56 kB / 0.9201 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.809, allocations: 0 / 0.9201 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-05/1.809, allocations: 33.05 kB / 0.9201 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1632/1.972, allocations: 161.4 MB / 1.078 GB, free: 7.273 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003001/1.973, allocations: 84 kB / 1.078 GB, free: 7.191 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006372/1.979, allocations: 1.556 MB / 1.079 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.98, allocations: 388.7 kB / 1.08 GB, free: 5.34 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/1.981, allocations: 259.9 kB / 1.08 GB, free: 5.086 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008739/1.99, allocations: 9.467 MB / 1.089 GB, free: 10.87 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001113/1.99, allocations: 130.4 kB / 1.089 GB, free: 10.77 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3286/2.319, allocations: 18.63 MB / 1.108 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007235/2.326, allocations: 2.067 MB / 1.11 GB, free: 235.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002591/2.328, allocations: 245.2 kB / 1.11 GB, free: 235.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006413/2.335, allocations: 0.5431 MB / 1.11 GB, free: 235.5 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/2.337, allocations: 0.7453 MB / 1.111 GB, free: 235.4 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007378/2.337, allocations: 318.2 kB / 1.111 GB, free: 235.4 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01283/2.35, allocations: 6.052 MB / 1.117 GB, free: 234 MB / 0.7013 GB Notification: Performance of sort global known variables: time 2.11e-07/2.35, allocations: 3.188 kB / 1.117 GB, free: 234 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01108/2.361, allocations: 2.644 MB / 1.12 GB, free: 233.5 MB / 0.7013 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.02247/2.384, allocations: 19.53 MB / 1.139 GB, free: 221.6 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.399, allocations: 10.33 MB / 1.149 GB, free: 217.7 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 9.78e-05/2.399, allocations: 15.78 kB / 1.149 GB, free: 217.7 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.007412/2.406, allocations: 5.282 MB / 1.154 GB, free: 215.5 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/2.418, allocations: 1.489 MB / 1.156 GB, free: 215 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1548/2.572, allocations: 99.15 MB / 1.253 GB, free: 123.4 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008168/2.581, allocations: 7.777 MB / 1.26 GB, free: 115.6 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.008009/2.589, allocations: 3.562 MB / 1.264 GB, free: 112.1 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006315/2.595, allocations: 4.209 MB / 1.268 GB, free: 107.9 MB / 0.7013 GB Notification: Performance of SimCode: time 2.354e-06/2.595, allocations: 5.094 kB / 1.268 GB, free: 107.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6294/3.224, allocations: 191.7 MB / 1.455 GB, free: 181 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.37/32.59, allocations: 7.312 kB / 1.455 GB, free: 181 MB / 0.7013 GB " [Timeout remaining time 627] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 39.98844010382891]