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.001336/0.001336, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001463/0.001463, allocations: 204.5 kB / 24.51 MB, free: 3.945 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2213/0.2213, allocations: 46.95 MB / 361.6 MB, free: 3.926 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 75.89 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 66.08 MB / 0.5614 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01963/0.3362, allocations: 16.96 MB / 0.578 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3463, allocations: 4.83 MB / 0.5827 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.3498, allocations: 191 kB / 0.5829 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.3667, allocations: 7.245 MB / 0.59 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008/0.3747, allocations: 2.093 MB / 0.592 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.3792, allocations: 1.39 MB / 0.5934 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.3954, allocations: 12.24 MB / 0.6053 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0299/0.4253, allocations: 16.88 MB / 0.6218 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4353, allocations: 6.659 MB / 0.6283 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01282/0.4481, allocations: 7.288 MB / 0.6354 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004629/0.4527, allocations: 1.723 MB / 0.6371 GB, free: 6.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006182/0.4589, allocations: 1.914 MB / 0.639 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005227/0.4641, allocations: 3.659 MB / 0.6426 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009768/0.4739, allocations: 5.49 MB / 0.6479 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0287/0.5026, allocations: 23.78 MB / 0.6711 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.5026, allocations: 4 kB / 0.6711 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5026, allocations: 3.938 kB / 0.6712 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005967/0.5032, allocations: 0 / 0.6712 GB, free: 3.145 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.04343/0.5466, allocations: 14.74 MB / 0.6855 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5467, allocations: 12.02 kB / 0.6856 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003753/0.5471, allocations: 324.7 kB / 0.6859 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006176/0.5532, allocations: 1.722 MB / 0.6876 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06034/0.6136, allocations: 11.17 MB / 0.6985 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/0.6316, allocations: 7.51 MB / 0.7058 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.6327, allocations: 0.8871 MB / 0.7067 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004574/0.6373, allocations: 1.168 MB / 0.7078 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04661/0.6839, allocations: 19.14 MB / 0.7265 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005701/0.6845, allocations: 19.89 kB / 0.7265 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003697/0.6882, allocations: 496 kB / 0.727 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000843/0.689, allocations: 0.6577 MB / 0.7276 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5073/1.196, allocations: 19.14 MB / 0.7463 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09316/1.289, allocations: 55.03 MB / 0.8001 GB, free: 88.85 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/1.306, allocations: 10.62 MB / 0.8104 GB, free: 78.73 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/1.312, allocations: 4.22 MB / 0.8146 GB, free: 74.49 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/1.312, allocations: 188.9 kB / 0.8147 GB, free: 74.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.478e-05/1.312, allocations: 103.7 kB / 0.8148 GB, free: 74.19 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.739e-06/1.312, allocations: 0 / 0.8148 GB, free: 74.19 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01702/1.329, allocations: 12.01 MB / 0.8266 GB, free: 62.09 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/1.329, allocations: 120.5 kB / 0.8267 GB, free: 61.96 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.341, allocations: 8.609 MB / 0.8351 GB, free: 53.41 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.342, allocations: 129.7 kB / 0.8352 GB, free: 53.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.345, allocations: 4.613 MB / 0.8397 GB, free: 49.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002338/1.348, allocations: 2.298 MB / 0.842 GB, free: 46.89 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/1.35, allocations: 1.47 MB / 0.8434 GB, free: 45.41 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/1.35, allocations: 301.1 kB / 0.8437 GB, free: 45.11 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/1.355, allocations: 4.117 MB / 0.8477 GB, free: 40.99 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/1.361, allocations: 6.917 MB / 0.8545 GB, free: 32.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.374, allocations: 11.99 MB / 0.8662 GB, free: 19.46 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.374, allocations: 24 kB / 0.8662 GB, free: 19.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02075/1.395, allocations: 12.1 MB / 0.878 GB, free: 7.223 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.395, allocations: 44.84 kB / 0.8781 GB, free: 7.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.395, allocations: 88 kB / 0.8781 GB, free: 7.094 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009437/1.396, allocations: 412.8 kB / 0.8785 GB, free: 6.672 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/1.403, allocations: 2.02 MB / 0.8805 GB, free: 4.648 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/1.41, allocations: 8.935 MB / 0.8892 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007361/1.417, allocations: 1.381 MB / 0.8906 GB, free: 9.637 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001761/1.419, allocations: 391.9 kB / 0.891 GB, free: 9.254 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.009393/1.428, allocations: 4.578 MB / 0.8954 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00222/1.43, allocations: 0.7335 MB / 0.8961 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/1.452, allocations: 10.59 MB / 0.9065 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/1.452, allocations: 64 kB / 0.9065 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/1.452, allocations: 11.94 kB / 0.9066 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.452, allocations: 35.86 kB / 0.9066 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4428/1.895, allocations: 151.4 MB / 1.054 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000142/1.895, allocations: 84 kB / 1.055 GB, free: 191.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005317/1.901, allocations: 1.556 MB / 1.056 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/1.901, allocations: 380.6 kB / 1.056 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006905/1.902, allocations: 259.9 kB / 1.057 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/1.907, allocations: 8.811 MB / 1.065 GB, free: 179.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/1.907, allocations: 139.2 kB / 1.065 GB, free: 179.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.925, allocations: 18.64 MB / 1.084 GB, free: 159.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/1.93, allocations: 2.075 MB / 1.086 GB, free: 157.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.931, allocations: 243.9 kB / 1.086 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004533/1.936, allocations: 0.5424 MB / 1.086 GB, free: 157 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008575/1.937, allocations: 0.7689 MB / 1.087 GB, free: 156.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004496/1.937, allocations: 319.9 kB / 1.087 GB, free: 155.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006884/1.944, allocations: 6.047 MB / 1.093 GB, free: 149.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.944, allocations: 4 kB / 1.093 GB, free: 149.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007787/1.952, allocations: 2.64 MB / 1.096 GB, free: 147.4 MB / 0.67 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/1.97, allocations: 19.54 MB / 1.115 GB, free: 125.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.983, allocations: 10.32 MB / 1.125 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001018/1.983, allocations: 17.39 kB / 1.125 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007461/1.991, allocations: 5.291 MB / 1.13 GB, free: 110 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009316/2, allocations: 1.488 MB / 1.132 GB, free: 108.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1289/2.129, allocations: 99.24 MB / 1.229 GB, free: 2.961 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009512/2.139, allocations: 7.361 MB / 1.236 GB, free: 11.56 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.009609/2.148, allocations: 3.562 MB / 1.239 GB, free: 7.984 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007992/2.156, allocations: 4.209 MB / 1.243 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of SimCode: time 1.132e-06/2.156, allocations: 0 / 1.243 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5399/2.696, allocations: 195 MB / 1.434 GB, free: 78.81 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.28/30.97, allocations: 7.922 kB / 1.434 GB, free: 78.8 MB / 0.6857 GB " [Timeout remaining time 629] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 40.162340715993196]