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.001508/0.001508, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001564/0.001564, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2226/0.2226, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.002226/0.002226, allocations: 80.16 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02312/0.3291, allocations: 19.85 MB / 0.5809 GB, free: 384 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.341, allocations: 5.001 MB / 0.5858 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004054/0.345, allocations: 191 kB / 0.586 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01873/0.3637, allocations: 7.853 MB / 0.5936 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008366/0.3721, allocations: 2.125 MB / 0.5957 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.3764, allocations: 1.425 MB / 0.5971 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01515/0.3916, allocations: 12.24 MB / 0.6091 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0277/0.4193, allocations: 16.87 MB / 0.6255 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009475/0.4288, allocations: 6.655 MB / 0.632 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.4405, allocations: 7.292 MB / 0.6391 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004496/0.445, allocations: 1.727 MB / 0.6408 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/0.4508, allocations: 1.918 MB / 0.6427 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005147/0.4559, allocations: 3.651 MB / 0.6463 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.467, allocations: 7.015 MB / 0.6531 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02672/0.4937, allocations: 23.68 MB / 0.6762 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4937, allocations: 4 kB / 0.6762 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4938, allocations: 3.938 kB / 0.6763 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004915/0.4942, allocations: 0 / 0.6763 GB, free: 14.29 MB / 0.5137 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.04049/0.5347, allocations: 14.74 MB / 0.6906 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5348, allocations: 12.03 kB / 0.6907 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003354/0.5351, allocations: 324.7 kB / 0.691 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005201/0.5403, allocations: 1.726 MB / 0.6927 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05761/0.5979, allocations: 11.18 MB / 0.7036 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.6154, allocations: 7.491 MB / 0.7109 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009591/0.6164, allocations: 0.8871 MB / 0.7117 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004606/0.621, allocations: 1.176 MB / 0.7129 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04415/0.6651, allocations: 18.61 MB / 0.7311 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003685/0.6655, allocations: 23.83 kB / 0.7311 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/0.6683, allocations: 500 kB / 0.7316 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.6689, allocations: 0.6577 MB / 0.7322 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4884/1.157, allocations: 19.14 MB / 0.7509 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09234/1.25, allocations: 59.54 MB / 0.809 GB, free: 80.58 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.265, allocations: 10.71 MB / 0.8195 GB, free: 70.39 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/1.271, allocations: 4.216 MB / 0.8236 GB, free: 66.15 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/1.271, allocations: 242.5 kB / 0.8238 GB, free: 65.96 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/1.271, allocations: 103.7 kB / 0.8239 GB, free: 65.85 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.414e-06/1.271, allocations: 4 kB / 0.8239 GB, free: 65.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01624/1.287, allocations: 12.01 MB / 0.8357 GB, free: 53.74 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.287, allocations: 116.5 kB / 0.8358 GB, free: 53.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.297, allocations: 8.609 MB / 0.8442 GB, free: 45.06 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009363/1.298, allocations: 137.7 kB / 0.8443 GB, free: 44.92 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/1.301, allocations: 4.614 MB / 0.8488 GB, free: 40.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.302, allocations: 2.298 MB / 0.8511 GB, free: 38.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/1.304, allocations: 1.466 MB / 0.8525 GB, free: 37.02 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/1.304, allocations: 301.1 kB / 0.8528 GB, free: 36.73 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/1.309, allocations: 4.113 MB / 0.8568 GB, free: 32.61 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/1.316, allocations: 6.917 MB / 0.8636 GB, free: 24.42 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.327, allocations: 11.99 MB / 0.8753 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/1.327, allocations: 28 kB / 0.8753 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01819/1.345, allocations: 12.1 MB / 0.8871 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.345, allocations: 46.03 kB / 0.8872 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.346, allocations: 96 kB / 0.8872 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.347, allocations: 408.8 kB / 0.8876 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008073/1.355, allocations: 2.016 MB / 0.8896 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/1.363, allocations: 8.966 MB / 0.8984 GB, free: 2.613 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007343/1.371, allocations: 1.389 MB / 0.8997 GB, free: 1.215 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.372, allocations: 383.9 kB / 0.9001 GB, free: 0.8398 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.009272/1.382, allocations: 4.578 MB / 0.9046 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/1.384, allocations: 0.7413 MB / 0.9053 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/1.407, allocations: 10.59 MB / 0.9156 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/1.407, allocations: 68 kB / 0.9157 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/1.407, allocations: 7.938 kB / 0.9157 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/1.407, allocations: 31.88 kB / 0.9157 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4202/1.827, allocations: 152.6 MB / 1.065 GB, free: 182.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003155/1.828, allocations: 84 kB / 1.065 GB, free: 182.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005892/1.833, allocations: 1.559 MB / 1.066 GB, free: 180.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/1.834, allocations: 384.7 kB / 1.067 GB, free: 180.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001308/1.836, allocations: 259.9 kB / 1.067 GB, free: 180.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/1.841, allocations: 8.844 MB / 1.076 GB, free: 170.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-05/1.841, allocations: 135.4 kB / 1.076 GB, free: 170.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.861, allocations: 18.64 MB / 1.094 GB, free: 150.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004799/1.866, allocations: 2.079 MB / 1.096 GB, free: 148.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/1.868, allocations: 239.9 kB / 1.096 GB, free: 148.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00521/1.873, allocations: 0.5502 MB / 1.097 GB, free: 147.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.874, allocations: 0.765 MB / 1.097 GB, free: 146.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005654/1.874, allocations: 315.9 kB / 1.098 GB, free: 146.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007679/1.882, allocations: 6.047 MB / 1.104 GB, free: 140.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/1.882, allocations: 0 / 1.104 GB, free: 140.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008535/1.891, allocations: 2.645 MB / 1.106 GB, free: 138.1 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.02033/1.911, allocations: 19.54 MB / 1.125 GB, free: 116.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.925, allocations: 10.33 MB / 1.135 GB, free: 106.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.504e-05/1.925, allocations: 15.61 kB / 1.135 GB, free: 106.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006647/1.932, allocations: 5.287 MB / 1.141 GB, free: 100.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008477/1.94, allocations: 1.48 MB / 1.142 GB, free: 99.33 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1313/2.071, allocations: 99.32 MB / 1.239 GB, free: 9.633 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01141/2.083, allocations: 7.777 MB / 1.247 GB, free: 1.816 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.2822/2.365, allocations: 3.558 MB / 1.25 GB, free: 227.4 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007398/2.372, allocations: 4.202 MB / 1.254 GB, free: 227.4 MB / 0.6857 GB Notification: Performance of SimCode: time 1.463e-06/2.372, allocations: 3.375 kB / 1.254 GB, free: 227.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2703/2.643, allocations: 194.5 MB / 1.444 GB, free: 64.66 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.08/31.73, allocations: 15.92 kB / 1.444 GB, free: 64.64 MB / 0.6857 GB " [Timeout remaining time 628] (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.87316413898952]