Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.31 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09145, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01363/0.1051, allocations: 13.94 MB / 371.5 MB, free: 20 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1793/0.2845, allocations: 3.842 MB / 375.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.2876, allocations: 98.66 kB / 375.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.2995, allocations: 5.559 MB / 381 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.3042, allocations: 1.352 MB / 382.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.3072, allocations: 1.209 MB / 383.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009274/0.3165, allocations: 6.321 MB / 389.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01913/0.3356, allocations: 13.77 MB / 403.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006047/0.3417, allocations: 3.278 MB / 406.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006789/0.3485, allocations: 3.854 MB / 410.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002691/0.3513, allocations: 0.8867 MB / 411.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.3551, allocations: 1.089 MB / 412.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.3579, allocations: 1.773 MB / 414.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006763/0.3647, allocations: 3.571 MB / 418.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3777, allocations: 11.88 MB / 430 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3778, allocations: 0 / 430 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3778, allocations: 0 / 430 MB, free: 2.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003144/0.3781, allocations: 0 / 430 MB, free: 2.699 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02223/0.4003, allocations: 7.773 MB / 437.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4004, allocations: 15.97 kB / 437.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002632/0.403, allocations: 1.052 MB / 438.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.4224, allocations: 2.913 MB / 441.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007698/0.4301, allocations: 3.622 MB / 445.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005981/0.4308, allocations: 486.3 kB / 445.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/0.434, allocations: 0.6259 MB / 446.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02732/0.4613, allocations: 9.332 MB / 455.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000299/0.4617, allocations: 7.906 kB / 455.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.4634, allocations: 267.8 kB / 456.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/0.4638, allocations: 317.5 kB / 456.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.4791, allocations: 7.966 MB / 464.4 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04087/0.52, allocations: 29.07 MB / 493.4 MB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009883/0.53, allocations: 11.7 MB / 0.4933 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.5322, allocations: 1.617 MB / 0.4949 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.5325, allocations: 213.9 kB / 0.4951 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.5326, allocations: 60.55 kB / 0.4951 GB, free: 3.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.007e-06/0.5326, allocations: 0 / 0.4951 GB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.006973/0.5395, allocations: 4.162 MB / 0.4992 GB, free: 14.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.5396, allocations: 103.1 kB / 0.4993 GB, free: 14.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.542, allocations: 1.895 MB / 0.5011 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.5421, allocations: 65.7 kB / 0.5012 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.5435, allocations: 2.552 MB / 0.5037 GB, free: 10.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006029/0.5441, allocations: 0.8106 MB / 0.5045 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008271/0.545, allocations: 0.6636 MB / 0.5051 GB, free: 8.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.545, allocations: 317 kB / 0.5054 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.5469, allocations: 1.4 MB / 0.5068 GB, free: 7.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.5495, allocations: 2.603 MB / 0.5093 GB, free: 3.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.5541, allocations: 4.229 MB / 0.5135 GB, free: 15.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.5541, allocations: 12 kB / 0.5135 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006373/0.5605, allocations: 4.511 MB / 0.5179 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.5606, allocations: 20 kB / 0.5179 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/0.5606, allocations: 40 kB / 0.5179 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.5614, allocations: 309.5 kB / 0.5182 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.5639, allocations: 0.7878 MB / 0.519 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/0.5688, allocations: 5.049 MB / 0.5239 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.571, allocations: 419.9 kB / 0.5243 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.5713, allocations: 164.2 kB / 0.5245 GB, free: 3.586 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002907/0.5742, allocations: 2.191 MB / 0.5266 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.5745, allocations: 209.4 kB / 0.5268 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1592/0.7338, allocations: 3.175 MB / 0.5299 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.7338, allocations: 26.89 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/0.7339, allocations: 4.812 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/0.7339, allocations: 13.38 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.7504, allocations: 12.68 MB / 0.5424 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.7504, allocations: 13.69 kB / 0.5424 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.752, allocations: 436.3 kB / 0.5428 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006273/0.7527, allocations: 280.2 kB / 0.5431 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.7528, allocations: 69.34 kB / 0.5431 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/0.7569, allocations: 4.982 MB / 0.548 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-05/0.757, allocations: 23.62 kB / 0.548 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.7631, allocations: 4.994 MB / 0.5529 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/0.764, allocations: 0.5257 MB / 0.5534 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.7643, allocations: 63.59 kB / 0.5535 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7655, allocations: 122.7 kB / 0.5536 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.7658, allocations: 207.5 kB / 0.5538 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7659, allocations: 87.17 kB / 0.5539 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.7673, allocations: 1.29 MB / 0.5551 GB, free: 121.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7673, allocations: 0 / 0.5551 GB, free: 121.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003312/0.7706, allocations: 1.438 MB / 0.5565 GB, free: 121.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005322/0.776, allocations: 5.664 MB / 0.5621 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005481/0.7815, allocations: 4.156 MB / 0.5661 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.7815, allocations: 3.594 kB / 0.5661 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.7833, allocations: 1.699 MB / 0.5678 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.786, allocations: 0.508 MB / 0.5683 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/0.8166, allocations: 30.59 MB / 0.5982 GB, free: 85.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.8192, allocations: 4.014 MB / 0.6021 GB, free: 81.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002459/0.8217, allocations: 1.195 MB / 0.6032 GB, free: 80.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/0.8232, allocations: 1.991 MB / 0.6052 GB, free: 78.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8233, allocations: 4 kB / 0.6052 GB, free: 78.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.391/5.215, allocations: 64.52 MB / 0.6682 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/20.5, allocations: 12 kB / 0.6682 GB, free: 14.05 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches