Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 112.8 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.92 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.2 kB / 491.8 MB, free: 30.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 64.26 MB / 0.543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02441/0.1609, allocations: 19.82 MB / 0.5624 GB, free: 348 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1737, allocations: 4.927 MB / 0.5672 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004828/0.1785, allocations: 163.5 kB / 0.5673 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01875/0.1973, allocations: 7.837 MB / 0.575 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.2062, allocations: 2.223 MB / 0.5771 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.2108, allocations: 1.266 MB / 0.5784 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01853/0.2294, allocations: 12.14 MB / 0.5902 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3923/0.6217, allocations: 20.21 MB / 0.61 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01669/0.6384, allocations: 6.527 MB / 0.6164 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01674/0.6551, allocations: 7.275 MB / 0.6235 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009257/0.6644, allocations: 1.724 MB / 0.6251 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.6769, allocations: 1.915 MB / 0.627 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01152/0.6885, allocations: 3.659 MB / 0.6306 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02071/0.7092, allocations: 7.014 MB / 0.6374 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03497/0.7441, allocations: 23.67 MB / 0.6606 GB, free: 8.352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.7441, allocations: 3.125 kB / 0.6606 GB, free: 8.352 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7441, allocations: 0 / 0.6606 GB, free: 8.352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008899/0.745, allocations: 0.9375 kB / 0.6606 GB, free: 8.352 MB / 478.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.06352/0.8086, allocations: 14.82 MB / 0.675 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.8086, allocations: 11.84 kB / 0.675 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009868/0.8185, allocations: 1.725 MB / 0.6767 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09556/0.914, allocations: 11.49 MB / 0.6879 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/0.9337, allocations: 7.345 MB / 0.6951 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/0.9349, allocations: 0.8846 MB / 0.696 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005841/0.9407, allocations: 1.171 MB / 0.6971 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05569/0.9964, allocations: 18.56 MB / 0.7153 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005712/0.997, allocations: 23.89 kB / 0.7153 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004719/1.002, allocations: 493.8 kB / 0.7157 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000806/1.002, allocations: 0.6578 MB / 0.7164 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04439/1.047, allocations: 19.08 MB / 0.735 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/1.177, allocations: 60.15 MB / 0.7938 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02562/1.203, allocations: 16.1 MB / 0.8095 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008485/1.211, allocations: 4.216 MB / 0.8136 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/1.212, allocations: 227.8 kB / 0.8138 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/1.212, allocations: 107.7 kB / 0.8139 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=653): time 9.618e-06/1.212, allocations: 0 / 0.8139 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=653): time 0.02397/1.236, allocations: 12.39 MB / 0.826 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.236, allocations: 120.5 kB / 0.8261 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01736/1.253, allocations: 8.612 MB / 0.8345 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00133/1.255, allocations: 133.7 kB / 0.8347 GB, free: 12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005039/1.26, allocations: 4.607 MB / 0.8392 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003533/1.263, allocations: 2.298 MB / 0.8414 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003101/1.266, allocations: 1.443 MB / 0.8428 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.267, allocations: 305.1 kB / 0.8431 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2939/1.561, allocations: 4.099 MB / 0.8471 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01375/1.574, allocations: 6.905 MB / 0.8539 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/1.595, allocations: 11.93 MB / 0.8655 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002479/1.595, allocations: 26.09 kB / 0.8655 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02129/1.617, allocations: 12.04 MB / 0.8773 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.617, allocations: 43.44 kB / 0.8773 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.617, allocations: 91.25 kB / 0.8774 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008742/1.618, allocations: 413 kB / 0.8778 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/1.625, allocations: 1.997 MB / 0.8798 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/1.631, allocations: 9.587 MB / 0.8891 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007516/1.639, allocations: 1.393 MB / 0.8905 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.64, allocations: 373.1 kB / 0.8908 GB, free: 179.9 MB / 0.6387 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.01042/1.651, allocations: 4.581 MB / 0.8953 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.652, allocations: 0.7331 MB / 0.896 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.667, allocations: 10.6 MB / 0.9064 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/1.667, allocations: 68.41 kB / 0.9065 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.667, allocations: 4 kB / 0.9065 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/1.667, allocations: 34.31 kB / 0.9065 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1449/1.812, allocations: 156.5 MB / 1.059 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003235/1.813, allocations: 84 kB / 1.059 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005674/1.818, allocations: 1.544 MB / 1.061 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/1.819, allocations: 377.5 kB / 1.061 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/1.821, allocations: 248 kB / 1.062 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/1.826, allocations: 9.469 MB / 1.071 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.804e-05/1.826, allocations: 137.1 kB / 1.071 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02825/1.854, allocations: 18.57 MB / 1.089 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00804/1.862, allocations: 2.052 MB / 1.091 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003555/1.866, allocations: 244 kB / 1.091 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007133/1.873, allocations: 0.558 MB / 1.092 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002315/1.875, allocations: 0.731 MB / 1.093 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/1.877, allocations: 308 kB / 1.093 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.3454/2.222, allocations: 6.043 MB / 1.099 GB, free: 202.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/2.222, allocations: 3.312 kB / 1.099 GB, free: 202.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01286/2.235, allocations: 2.635 MB / 1.101 GB, free: 202.6 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.03119/2.266, allocations: 19.47 MB / 1.12 GB, free: 193.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01956/2.286, allocations: 10.29 MB / 1.13 GB, free: 190.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001602/2.286, allocations: 13.41 kB / 1.13 GB, free: 190.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008898/2.295, allocations: 5.264 MB / 1.136 GB, free: 187.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/2.307, allocations: 1.485 MB / 1.137 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1637/2.471, allocations: 99.17 MB / 1.234 GB, free: 103.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/2.483, allocations: 7.773 MB / 1.241 GB, free: 95.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.009004/2.492, allocations: 3.562 MB / 1.245 GB, free: 92.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007786/2.5, allocations: 4.155 MB / 1.249 GB, free: 87.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.186e-06/2.5, allocations: 0 / 1.249 GB, free: 87.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5998/3.1, allocations: 190.6 MB / 1.435 GB, free: 181.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.89/31.99, allocations: 0 / 1.435 GB, free: 181.9 MB / 0.67 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 39.275871489197016]