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.001383/0.001383, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 60.28 kB / 306.6 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09728, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01436/0.1117, allocations: 13.73 MB / 370.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.2917, allocations: 3.801 MB / 374.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.2941, allocations: 98.25 kB / 374.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.3047, allocations: 5.275 MB / 380 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.3097, allocations: 1.197 MB / 381.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.3128, allocations: 1.118 MB / 382.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.3232, allocations: 6.323 MB / 388.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02333/0.3466, allocations: 15.95 MB / 404.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/0.3527, allocations: 3.327 MB / 407.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.3584, allocations: 3.881 MB / 411.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.3606, allocations: 0.8867 MB / 412.7 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.3639, allocations: 1.089 MB / 413.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.3656, allocations: 1.777 MB / 415.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004971/0.3706, allocations: 3.576 MB / 419.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.3841, allocations: 11.89 MB / 431 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3841, allocations: 0 / 431 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3841, allocations: 0 / 431 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003644/0.3845, allocations: 0 / 431 MB, free: 0.9414 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.02071/0.4052, allocations: 7.813 MB / 438.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4053, allocations: 12.03 kB / 438.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002039/0.4073, allocations: 1.063 MB / 439.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.4265, allocations: 2.915 MB / 442.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/0.4336, allocations: 3.613 MB / 446.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.434, allocations: 479.8 kB / 446.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.436, allocations: 0.6221 MB / 447.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.4597, allocations: 9.347 MB / 456.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003319/0.4601, allocations: 7.906 kB / 456.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00207/0.4622, allocations: 262.6 kB / 457.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.4626, allocations: 325.5 kB / 457.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.4816, allocations: 7.962 MB / 465.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04559/0.5272, allocations: 29.07 MB / 494.5 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.5389, allocations: 11.71 MB / 0.4943 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.5418, allocations: 1.613 MB / 0.4959 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.5423, allocations: 216.1 kB / 0.4961 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.5424, allocations: 60.56 kB / 0.4962 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 5.13e-06/0.5424, allocations: 4 kB / 0.4962 GB, free: 1.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008773/0.5511, allocations: 4.16 MB / 0.5002 GB, free: 13.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.5513, allocations: 99.11 kB / 0.5003 GB, free: 13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.5548, allocations: 1.903 MB / 0.5022 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.5551, allocations: 65.7 kB / 0.5022 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5568, allocations: 2.551 MB / 0.5047 GB, free: 8.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/0.5577, allocations: 0.8154 MB / 0.5055 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.5591, allocations: 0.6598 MB / 0.5062 GB, free: 6.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.5592, allocations: 305.1 kB / 0.5065 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.5615, allocations: 1.408 MB / 0.5078 GB, free: 5.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.5646, allocations: 2.591 MB / 0.5104 GB, free: 2.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/0.5699, allocations: 4.235 MB / 0.5145 GB, free: 13.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/0.5699, allocations: 12 kB / 0.5145 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007385/0.5773, allocations: 4.515 MB / 0.5189 GB, free: 8.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.5774, allocations: 23.94 kB / 0.519 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.566e-05/0.5775, allocations: 36 kB / 0.519 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008113/0.5783, allocations: 317.7 kB / 0.5193 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.581, allocations: 0.7722 MB / 0.52 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/0.5866, allocations: 5.06 MB / 0.525 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.5889, allocations: 416 kB / 0.5254 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.5894, allocations: 160 kB / 0.5255 GB, free: 1.781 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.1719/0.7613, allocations: 2.186 MB / 0.5277 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/0.7618, allocations: 208 kB / 0.5279 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.7672, allocations: 3.186 MB / 0.531 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.7673, allocations: 25.06 kB / 0.531 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.7673, allocations: 5.469 kB / 0.531 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.7673, allocations: 15.3 kB / 0.531 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.7837, allocations: 12.67 MB / 0.5434 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.7837, allocations: 17.19 kB / 0.5434 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.7854, allocations: 436.3 kB / 0.5438 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/0.786, allocations: 287.3 kB / 0.5441 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.7862, allocations: 67.28 kB / 0.5442 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.7903, allocations: 4.98 MB / 0.549 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.7903, allocations: 18.06 kB / 0.549 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.7957, allocations: 5.002 MB / 0.5539 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/0.7966, allocations: 0.5266 MB / 0.5544 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.7969, allocations: 62.2 kB / 0.5545 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7981, allocations: 121.8 kB / 0.5546 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.7984, allocations: 203.7 kB / 0.5548 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.7986, allocations: 87.28 kB / 0.5549 GB, free: 110.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.8, allocations: 1.293 MB / 0.5562 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8, allocations: 0 / 0.5562 GB, free: 109.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003695/0.8037, allocations: 1.442 MB / 0.5576 GB, free: 109.2 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.005855/0.8096, allocations: 5.656 MB / 0.5631 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.8161, allocations: 4.166 MB / 0.5672 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/0.8162, allocations: 3.5 kB / 0.5672 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.8182, allocations: 1.689 MB / 0.5688 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.8209, allocations: 0.5168 MB / 0.5693 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/0.8549, allocations: 33.12 MB / 0.6017 GB, free: 69.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.858, allocations: 4.004 MB / 0.6056 GB, free: 65.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002968/0.861, allocations: 1.199 MB / 0.6067 GB, free: 63.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/0.8628, allocations: 1.995 MB / 0.6087 GB, free: 61.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/0.8628, allocations: 4 kB / 0.6087 GB, free: 61.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09152/0.9544, allocations: 64.41 MB / 0.6716 GB, free: 13.97 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.9546, allocations: 244.4 kB / 0.6718 GB, free: 13.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.055, allocations: 64 / 0.6718 GB, free: 13.71 MB / 462.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