Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 101.3 kB / 16.27 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001994, allocations: 192.8 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1932/0.1932, allocations: 43.53 MB / 314 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 68.17 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09412, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01818/0.1123, allocations: 19.9 MB / 460.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1227, allocations: 4.935 MB / 465.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/0.1266, allocations: 135.6 kB / 465.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01654/0.1432, allocations: 7.783 MB / 473.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007036/0.1502, allocations: 2.288 MB / 475.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.1535, allocations: 1.276 MB / 476.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.1654, allocations: 12.26 MB / 489.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03217/0.1976, allocations: 26.22 MB / 0.5033 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007218/0.2049, allocations: 6.573 MB / 0.5098 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.2153, allocations: 7.35 MB / 0.5169 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004833/0.2202, allocations: 1.734 MB / 0.5186 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006065/0.2263, allocations: 1.926 MB / 0.5205 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005522/0.2318, allocations: 3.717 MB / 0.5241 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2085/0.4403, allocations: 7.107 MB / 0.5311 GB, free: 41.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.464, allocations: 23.53 MB / 0.5541 GB, free: 37.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.464, allocations: 0 / 0.5541 GB, free: 37.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4641, allocations: 0.9688 kB / 0.5541 GB, free: 37.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005794/0.4647, allocations: 3.656 kB / 0.5541 GB, free: 37.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05622/0.5209, allocations: 14.8 MB / 0.5685 GB, free: 30.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5209, allocations: 14.8 kB / 0.5685 GB, free: 30.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006957/0.5279, allocations: 1.755 MB / 0.5702 GB, free: 29.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0639/0.5918, allocations: 12.42 MB / 0.5824 GB, free: 23.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.6056, allocations: 6.579 MB / 0.5888 GB, free: 19.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/0.6063, allocations: 0.9052 MB / 0.5897 GB, free: 18.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005005/0.6113, allocations: 1.188 MB / 0.5908 GB, free: 17.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03961/0.6509, allocations: 19.05 MB / 0.6094 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005276/0.6515, allocations: 15.91 kB / 0.6095 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/0.6562, allocations: 0.4951 MB / 0.6099 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000675/0.6569, allocations: 0.6817 MB / 0.6106 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03998/0.6969, allocations: 19.83 MB / 0.63 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/0.8048, allocations: 62.23 MB / 0.6907 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/0.8273, allocations: 20.18 MB / 0.7105 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007749/0.8351, allocations: 4.619 MB / 0.715 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.8358, allocations: 244.4 kB / 0.7152 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.8359, allocations: 111.5 kB / 0.7153 GB, free: 496 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 8.195e-06/0.836, allocations: 0 / 0.7153 GB, free: 496 kB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.02068/0.8566, allocations: 12.54 MB / 0.7275 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.8568, allocations: 124.3 kB / 0.7277 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2094/1.066, allocations: 8.718 MB / 0.7362 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.067, allocations: 139.4 kB / 0.7363 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.07, allocations: 4.605 MB / 0.7408 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/1.073, allocations: 2.263 MB / 0.743 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/1.075, allocations: 1.51 MB / 0.7445 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.809e-05/1.075, allocations: 301.1 kB / 0.7448 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.08, allocations: 4.197 MB / 0.7489 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/1.086, allocations: 7.226 MB / 0.7559 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.098, allocations: 12.4 MB / 0.768 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-05/1.099, allocations: 30.56 kB / 0.7681 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.0191/1.118, allocations: 12.4 MB / 0.7802 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.118, allocations: 44 kB / 0.7802 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.118, allocations: 100 kB / 0.7803 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/1.119, allocations: 421.7 kB / 0.7807 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/1.126, allocations: 2.107 MB / 0.7828 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/1.131, allocations: 9.599 MB / 0.7922 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007253/1.139, allocations: 1.405 MB / 0.7935 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009325/1.14, allocations: 399.4 kB / 0.7939 GB, free: 144.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.006151/1.146, allocations: 4.665 MB / 0.7985 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.147, allocations: 0.7098 MB / 0.7992 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.161, allocations: 11.06 MB / 0.81 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/1.161, allocations: 71.98 kB / 0.81 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.161, allocations: 0 / 0.81 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/1.161, allocations: 31.88 kB / 0.8101 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/1.495, allocations: 159.2 MB / 0.9655 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001119/1.495, allocations: 87 kB / 0.9656 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00539/1.501, allocations: 1.576 MB / 0.9671 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007812/1.501, allocations: 381.2 kB / 0.9675 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006295/1.502, allocations: 254.4 kB / 0.9677 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/1.507, allocations: 9.459 MB / 0.977 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/1.507, allocations: 139.2 kB / 0.9771 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.526, allocations: 18.86 MB / 0.9955 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003933/1.53, allocations: 2.042 MB / 0.9975 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.531, allocations: 254.1 kB / 0.9978 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004547/1.536, allocations: 0.5592 MB / 0.9983 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009349/1.537, allocations: 0.7424 MB / 0.999 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/1.537, allocations: 315.8 kB / 0.9993 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007819/1.545, allocations: 6.123 MB / 1.005 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.545, allocations: 0 / 1.005 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009245/1.554, allocations: 2.675 MB / 1.008 GB, free: 123 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.0178/1.572, allocations: 19.76 MB / 1.027 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02644/1.598, allocations: 17.44 MB / 1.044 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.857e-05/1.598, allocations: 12 kB / 1.044 GB, free: 83.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007637/1.606, allocations: 5.51 MB / 1.05 GB, free: 78.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/1.617, allocations: 1.513 MB / 1.051 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.351/1.968, allocations: 147.8 MB / 1.195 GB, free: 140.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008694/1.977, allocations: 7.883 MB / 1.203 GB, free: 137.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0087/1.986, allocations: 3.65 MB / 1.207 GB, free: 137.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005563/1.991, allocations: 4.232 MB / 1.211 GB, free: 134.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/1.991, allocations: 0 / 1.211 GB, free: 134.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/2.583, allocations: 197.5 MB / 1.404 GB, free: 165.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/16.91, allocations: 1.5 kB / 1.404 GB, free: 165.9 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches