Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 202.1 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3276, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02042/0.3481, allocations: 16.99 MB / 0.5772 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3594, allocations: 4.838 MB / 0.5819 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004072/0.3635, allocations: 199 kB / 0.5821 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01788/0.3814, allocations: 7.248 MB / 0.5892 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008506/0.3899, allocations: 2.102 MB / 0.5912 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.3945, allocations: 1.378 MB / 0.5926 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01627/0.4108, allocations: 12.23 MB / 0.6045 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02903/0.4398, allocations: 16.87 MB / 0.621 GB, free: 6.027 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.451, allocations: 6.663 MB / 0.6275 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.4633, allocations: 7.296 MB / 0.6346 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005202/0.4685, allocations: 1.719 MB / 0.6363 GB, free: 6.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006303/0.4748, allocations: 1.91 MB / 0.6382 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006015/0.4808, allocations: 3.663 MB / 0.6417 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.4928, allocations: 5.486 MB / 0.6471 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02991/0.5227, allocations: 23.79 MB / 0.6703 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5227, allocations: 0 / 0.6703 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5227, allocations: 0 / 0.6703 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006307/0.5234, allocations: 0 / 0.6703 GB, free: 3.355 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.04193/0.5653, allocations: 14.75 MB / 0.6847 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5654, allocations: 8.031 kB / 0.6847 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005688/0.571, allocations: 1.722 MB / 0.6864 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06073/0.6318, allocations: 11.18 MB / 0.6973 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/0.6512, allocations: 7.495 MB / 0.7047 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/0.6523, allocations: 0.8911 MB / 0.7055 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005064/0.6574, allocations: 1.172 MB / 0.7067 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/0.7055, allocations: 19.14 MB / 0.7254 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004408/0.7059, allocations: 19.89 kB / 0.7254 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004292/0.7102, allocations: 496 kB / 0.7259 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008012/0.711, allocations: 0.6539 MB / 0.7265 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3405/1.051, allocations: 19.05 MB / 0.7451 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/1.156, allocations: 55.04 MB / 0.7988 GB, free: 92.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/1.174, allocations: 10.62 MB / 0.8092 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006313/1.18, allocations: 4.223 MB / 0.8133 GB, free: 77.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/1.181, allocations: 184.9 kB / 0.8135 GB, free: 77.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.028e-05/1.181, allocations: 111.7 kB / 0.8136 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=653): time 1.084e-05/1.181, allocations: 0 / 0.8136 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=653): time 0.02198/1.203, allocations: 12 MB / 0.8254 GB, free: 65.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.203, allocations: 120.5 kB / 0.8255 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/1.219, allocations: 8.728 MB / 0.834 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.221, allocations: 133.7 kB / 0.8341 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003719/1.224, allocations: 4.614 MB / 0.8386 GB, free: 51.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002519/1.227, allocations: 2.292 MB / 0.8409 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004171/1.231, allocations: 1.466 MB / 0.8423 GB, free: 48.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/1.231, allocations: 301.1 kB / 0.8426 GB, free: 47.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/1.237, allocations: 4.117 MB / 0.8466 GB, free: 43.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007419/1.244, allocations: 6.917 MB / 0.8534 GB, free: 35.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.258, allocations: 11.99 MB / 0.8651 GB, free: 22.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/1.259, allocations: 24 kB / 0.8651 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01991/1.278, allocations: 12.1 MB / 0.8769 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.279, allocations: 44.88 kB / 0.8769 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.279, allocations: 88 kB / 0.877 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.28, allocations: 412.8 kB / 0.8774 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007288/1.287, allocations: 2.02 MB / 0.8794 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/1.293, allocations: 8.932 MB / 0.8881 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008294/1.302, allocations: 1.381 MB / 0.8895 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/1.304, allocations: 387.9 kB / 0.8898 GB, free: 11.93 MB / 0.5762 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.01046/1.314, allocations: 4.583 MB / 0.8943 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/1.316, allocations: 0.7374 MB / 0.895 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/1.34, allocations: 10.6 MB / 0.9054 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/1.34, allocations: 71.92 kB / 0.9055 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.34, allocations: 11.94 kB / 0.9055 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/1.34, allocations: 35.81 kB / 0.9055 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4905/1.83, allocations: 151.4 MB / 1.053 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003102/1.831, allocations: 91.94 kB / 1.053 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006114/1.837, allocations: 1.56 MB / 1.055 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009537/1.838, allocations: 372.9 kB / 1.055 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/1.839, allocations: 263.7 kB / 1.056 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/1.844, allocations: 8.815 MB / 1.064 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.411e-05/1.844, allocations: 135.4 kB / 1.064 GB, free: 185.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/1.866, allocations: 18.64 MB / 1.083 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006526/1.872, allocations: 2.069 MB / 1.085 GB, free: 163.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/1.874, allocations: 243.9 kB / 1.085 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/1.88, allocations: 0.5508 MB / 1.085 GB, free: 162.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/1.882, allocations: 0.7689 MB / 1.086 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006195/1.882, allocations: 315.9 kB / 1.086 GB, free: 161.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008716/1.891, allocations: 6.047 MB / 1.092 GB, free: 155.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/1.891, allocations: 0 / 1.092 GB, free: 155.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01134/1.902, allocations: 2.646 MB / 1.095 GB, free: 152.7 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.02011/1.922, allocations: 19.54 MB / 1.114 GB, free: 131.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.936, allocations: 10.32 MB / 1.124 GB, free: 120.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001121/1.937, allocations: 16 kB / 1.124 GB, free: 120.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00744/1.944, allocations: 5.286 MB / 1.129 GB, free: 115.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/1.957, allocations: 1.492 MB / 1.131 GB, free: 113.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1487/2.106, allocations: 99.24 MB / 1.228 GB, free: 8.176 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009851/2.116, allocations: 7.357 MB / 1.235 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01153/2.127, allocations: 3.562 MB / 1.238 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009311/2.137, allocations: 4.206 MB / 1.242 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of SimCode: time 2.204e-06/2.137, allocations: 0 / 1.242 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5368/2.673, allocations: 196.2 MB / 1.434 GB, free: 96.28 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.26/26.93, allocations: 5.203 kB / 1.434 GB, free: 96.28 MB / 0.6856 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 33.65760384700843]