Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.001008/0.001008, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.0009815/0.0009815, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.321/1.321, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.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.001323/0.001323, allocations: 56.25 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08506, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01426/0.09936, allocations: 14.61 MB / 342 MB, free: 5.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009627/0.109, allocations: 3.922 MB / 345.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.1121, allocations: 87.75 kB / 346 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.1239, allocations: 5.605 MB / 351.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.1296, allocations: 1.745 MB / 353.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.1326, allocations: 1.091 MB / 354.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007573/0.1402, allocations: 6.7 MB / 361.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01693/0.1571, allocations: 13.81 MB / 374.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/0.1619, allocations: 3.483 MB / 378.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1607/0.3227, allocations: 4.122 MB / 382.6 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003086/0.3258, allocations: 0.9162 MB / 383.5 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.3299, allocations: 1.106 MB / 384.6 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.3328, allocations: 1.924 MB / 386.5 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007679/0.3405, allocations: 3.803 MB / 390.3 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.355, allocations: 12.3 MB / 402.6 MB, free: 17.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3551, allocations: 3.094 kB / 402.6 MB, free: 17.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3551, allocations: 0 / 402.6 MB, free: 17.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000385/0.3555, allocations: 0 / 402.6 MB, free: 17.74 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02359/0.3791, allocations: 8.298 MB / 410.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3791, allocations: 11.53 kB / 410.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003377/0.3825, allocations: 1.135 MB / 412 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03032/0.4129, allocations: 5.079 MB / 417.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006794/0.4197, allocations: 3.547 MB / 420.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.42, allocations: 0.5069 MB / 421.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.4222, allocations: 0.674 MB / 421.9 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/0.4439, allocations: 10.49 MB / 432.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.4441, allocations: 8.969 kB / 432.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.4453, allocations: 286.6 kB / 432.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003489/0.4457, allocations: 382.7 kB / 433 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.4633, allocations: 9.645 MB / 442.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04972/0.513, allocations: 31.88 MB / 474.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/0.5307, allocations: 22.92 MB / 497.5 MB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.5336, allocations: 1.941 MB / 499.4 MB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009481/0.5431, allocations: 6.241 MB / 0.4938 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.5432, allocations: 63.64 kB / 0.4938 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.166e-06/0.5432, allocations: 0 / 0.4938 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006453/0.5497, allocations: 3.167 MB / 0.4969 GB, free: 10.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.5498, allocations: 94 kB / 0.497 GB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.5541, allocations: 2.615 MB / 0.4996 GB, free: 7.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.5543, allocations: 49.7 kB / 0.4996 GB, free: 7.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.5562, allocations: 3.125 MB / 0.5027 GB, free: 4.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005029/0.5567, allocations: 0.5499 MB / 0.5032 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.5578, allocations: 0.8038 MB / 0.504 GB, free: 3.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.5579, allocations: 305.1 kB / 0.5043 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.5599, allocations: 1.464 MB / 0.5057 GB, free: 1.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.563, allocations: 3.262 MB / 0.5089 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.568, allocations: 4.823 MB / 0.5136 GB, free: 8.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-05/0.568, allocations: 16 kB / 0.5136 GB, free: 8.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007653/0.5757, allocations: 5.087 MB / 0.5186 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.5758, allocations: 32 kB / 0.5186 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.59e-05/0.5759, allocations: 60 kB / 0.5187 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/0.5767, allocations: 343.3 kB / 0.519 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.5794, allocations: 0.8855 MB / 0.5199 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005368/0.5848, allocations: 5.063 MB / 0.5248 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/0.5881, allocations: 0.5379 MB / 0.5254 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/0.5886, allocations: 216 kB / 0.5256 GB, free: 12.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003712/0.5923, allocations: 2.329 MB / 0.5278 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.5928, allocations: 221.2 kB / 0.528 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.5968, allocations: 2.33 MB / 0.5303 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5968, allocations: 16 kB / 0.5303 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.5968, allocations: 4 kB / 0.5303 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.5969, allocations: 11.91 kB / 0.5304 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009435/0.6063, allocations: 5.35 MB / 0.5356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.6064, allocations: 0 / 0.5356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.6076, allocations: 261.8 kB / 0.5358 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/0.6083, allocations: 257.7 kB / 0.5361 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6084, allocations: 35.98 kB / 0.5361 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1651/0.7735, allocations: 4.927 MB / 0.5409 GB, free: 153.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7735, allocations: 9.531 kB / 0.5409 GB, free: 153.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.7785, allocations: 3.301 MB / 0.5441 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/0.7795, allocations: 472 kB / 0.5446 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.7798, allocations: 38.34 kB / 0.5446 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.781, allocations: 98.92 kB / 0.5447 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.7812, allocations: 101.9 kB / 0.5448 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.7813, allocations: 47.7 kB / 0.5449 GB, free: 153.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002438/0.7837, allocations: 1.712 MB / 0.5465 GB, free: 152.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7837, allocations: 3.688 kB / 0.5465 GB, free: 152.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00478/0.7885, allocations: 1.529 MB / 0.548 GB, free: 152 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00487/0.7934, allocations: 3.925 MB / 0.5519 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005964/0.7994, allocations: 3.819 MB / 0.5556 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7994, allocations: 0 / 0.5556 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.801, allocations: 1.265 MB / 0.5568 GB, free: 147.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.8039, allocations: 492.8 kB / 0.5573 GB, free: 147.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/0.845, allocations: 32.98 MB / 0.5895 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00371/0.8488, allocations: 4.189 MB / 0.5936 GB, free: 117.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003539/0.8523, allocations: 1.288 MB / 0.5949 GB, free: 116.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/0.8543, allocations: 2.124 MB / 0.5969 GB, free: 114.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8543, allocations: 0 / 0.5969 GB, free: 114.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/0.9948, allocations: 66.66 MB / 0.662 GB, free: 48.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.26, allocations: 3.859 kB / 0.662 GB, free: 48.06 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches