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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 114.6 kB / 17.33 MB, free: 5.988 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.001732/0.001732, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.9 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 44.17 MB / 336.3 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.3 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09918, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01968/0.1189, allocations: 19.4 MB / 488.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009568/0.1285, allocations: 4.842 MB / 493.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.1319, allocations: 151.5 kB / 493.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01562/0.1476, allocations: 7.371 MB / 0.4889 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.1544, allocations: 2.017 MB / 0.4908 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.1586, allocations: 1.161 MB / 0.492 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2024/0.361, allocations: 12.07 MB / 0.5037 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03632/0.3974, allocations: 30.13 MB / 0.5332 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007415/0.4048, allocations: 6.581 MB / 0.5396 GB, free: 328 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.4154, allocations: 7.336 MB / 0.5468 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004048/0.4195, allocations: 1.727 MB / 0.5484 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005408/0.4249, allocations: 1.915 MB / 0.5503 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004727/0.4297, allocations: 3.652 MB / 0.5539 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01358/0.4433, allocations: 7.255 MB / 0.561 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02438/0.4677, allocations: 23.47 MB / 0.5839 GB, free: 6.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4677, allocations: 0 / 0.5839 GB, free: 6.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4677, allocations: 0 / 0.5839 GB, free: 6.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006092/0.4684, allocations: 3.938 kB / 0.5839 GB, free: 6.824 MB / 430.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.04007/0.5084, allocations: 14.55 MB / 0.5981 GB, free: 8.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5085, allocations: 8.031 kB / 0.5981 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005492/0.514, allocations: 1.726 MB / 0.5998 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05996/0.574, allocations: 11.44 MB / 0.611 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.5872, allocations: 7.089 MB / 0.6179 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008126/0.5881, allocations: 0.8852 MB / 0.6188 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003898/0.592, allocations: 1.171 MB / 0.6199 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0412/0.6332, allocations: 18.56 MB / 0.638 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004586/0.6337, allocations: 19.84 kB / 0.638 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003183/0.6369, allocations: 496.9 kB / 0.6385 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006318/0.6375, allocations: 0.6539 MB / 0.6392 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03678/0.6743, allocations: 19.08 MB / 0.6578 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4572/1.132, allocations: 60.66 MB / 0.717 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/1.147, allocations: 16.61 MB / 0.7332 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005258/1.153, allocations: 4.514 MB / 0.7377 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/1.153, allocations: 239.7 kB / 0.7379 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/1.153, allocations: 109.7 kB / 0.738 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.178e-06/1.153, allocations: 0 / 0.738 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01463/1.168, allocations: 12.35 MB / 0.7501 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.168, allocations: 124.5 kB / 0.7502 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.178, allocations: 8.604 MB / 0.7586 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008927/1.179, allocations: 134.4 kB / 0.7587 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.181, allocations: 4.482 MB / 0.7631 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.183, allocations: 2.192 MB / 0.7652 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001923/1.185, allocations: 1.438 MB / 0.7666 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/1.185, allocations: 307.8 kB / 0.7669 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.19, allocations: 4.104 MB / 0.7709 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/1.196, allocations: 6.906 MB / 0.7777 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.207, allocations: 11.93 MB / 0.7893 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.655e-05/1.207, allocations: 28 kB / 0.7893 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01529/1.223, allocations: 12 MB / 0.8011 GB, free: 90.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/1.223, allocations: 48 kB / 0.8011 GB, free: 90.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.223, allocations: 92.09 kB / 0.8012 GB, free: 90.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/1.224, allocations: 412.8 kB / 0.8016 GB, free: 89.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006345/1.23, allocations: 2.001 MB / 0.8035 GB, free: 87.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/1.235, allocations: 9.589 MB / 0.8129 GB, free: 77.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.241, allocations: 1.358 MB / 0.8142 GB, free: 75.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.243, allocations: 372 kB / 0.8146 GB, free: 75.44 MB / 0.5294 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.009641/1.252, allocations: 4.582 MB / 0.8191 GB, free: 70.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/1.255, allocations: 0.6982 MB / 0.8197 GB, free: 70.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.274, allocations: 10.6 MB / 0.8301 GB, free: 59.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.265e-05/1.274, allocations: 68 kB / 0.8302 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.274, allocations: 3.984 kB / 0.8302 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.407e-05/1.274, allocations: 31.88 kB / 0.8302 GB, free: 59.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3495/1.623, allocations: 156.6 MB / 0.9831 GB, free: 153.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-05/1.623, allocations: 90.84 kB / 0.9832 GB, free: 153.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004724/1.628, allocations: 1.542 MB / 0.9847 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/1.629, allocations: 385.4 kB / 0.9851 GB, free: 151.3 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/1.629, allocations: 247.7 kB / 0.9853 GB, free: 151.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/1.634, allocations: 9.464 MB / 0.9946 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.136e-05/1.634, allocations: 135.4 kB / 0.9947 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.651, allocations: 18.53 MB / 1.013 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004587/1.655, allocations: 2.004 MB / 1.015 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/1.657, allocations: 247.9 kB / 1.015 GB, free: 118.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005064/1.662, allocations: 0.558 MB / 1.016 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.663, allocations: 0.7263 MB / 1.016 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005371/1.664, allocations: 308 kB / 1.017 GB, free: 116.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008228/1.672, allocations: 6.047 MB / 1.022 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.4e-07/1.672, allocations: 0 / 1.022 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008997/1.681, allocations: 2.624 MB / 1.025 GB, free: 108.1 MB / 0.5607 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.01903/1.7, allocations: 19.43 MB / 1.044 GB, free: 86.61 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02831/1.728, allocations: 16.72 MB / 1.06 GB, free: 69.89 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.326e-05/1.729, allocations: 16.38 kB / 1.06 GB, free: 69.88 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008319/1.737, allocations: 5.437 MB / 1.066 GB, free: 64.38 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/1.75, allocations: 1.505 MB / 1.067 GB, free: 62.92 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4277/2.178, allocations: 147.3 MB / 1.211 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008517/2.186, allocations: 7.777 MB / 1.219 GB, free: 135.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008502/2.195, allocations: 3.563 MB / 1.222 GB, free: 134.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005475/2.201, allocations: 4.152 MB / 1.226 GB, free: 131 MB / 0.5763 GB Notification: Performance of SimCode: time 1.092e-06/2.201, allocations: 0 / 1.226 GB, free: 131 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4217/2.622, allocations: 194.2 MB / 1.416 GB, free: 174 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/2.622, allocations: 242.5 kB / 1.416 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.083/8.706, allocations: 5.125 kB / 1.416 GB, free: 173.8 MB / 0.5763 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches