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.0008224/0.0008224, allocations: 96.34 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009613/0.0009614, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001913/0.0001913, allocations: 8 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07502, allocations: 51.53 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0107/0.08575, allocations: 12.95 MB / 372.3 MB, free: 208 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1357/0.2214, allocations: 3.775 MB / 376.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009364/0.2224, allocations: 101.2 kB / 376.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.2236, allocations: 0.7921 MB / 377 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.2262, allocations: 1.2 MB / 378.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.2282, allocations: 1.116 MB / 379.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.2336, allocations: 6.173 MB / 385.5 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.2502, allocations: 14.16 MB / 399.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.2532, allocations: 2.337 MB / 402 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.2563, allocations: 2.927 MB / 404.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006044/0.257, allocations: 376 kB / 405.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.2583, allocations: 0.5721 MB / 405.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007948/0.2591, allocations: 1.113 MB / 406.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.2614, allocations: 2.861 MB / 409.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008078/0.2695, allocations: 11.24 MB / 421 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2695, allocations: 0 / 421 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2695, allocations: 0 / 421 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.2697, allocations: 4 kB / 421.1 MB, free: 11.52 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.01355/0.2832, allocations: 6.511 MB / 427.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2833, allocations: 12.03 kB / 427.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/0.2847, allocations: 1.047 MB / 428.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.3018, allocations: 2.929 MB / 431.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/0.3068, allocations: 3.635 MB / 435.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.307, allocations: 480.7 kB / 435.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008468/0.3079, allocations: 0.6231 MB / 436.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.3207, allocations: 9.345 MB / 445.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.3208, allocations: 11.89 kB / 445.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005562/0.3214, allocations: 259.4 kB / 445.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.3216, allocations: 325.5 kB / 446.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3326, allocations: 7.962 MB / 454.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.3647, allocations: 29.19 MB / 483.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009627/0.3744, allocations: 11.69 MB / 495 MB, free: 15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.3765, allocations: 1.609 MB / 496.7 MB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.3767, allocations: 222.7 kB / 496.9 MB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3767, allocations: 60.5 kB / 496.9 MB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.506e-06/0.3767, allocations: 0 / 496.9 MB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.006865/0.3836, allocations: 4.178 MB / 0.4894 GB, free: 8.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3837, allocations: 107.1 kB / 0.4895 GB, free: 8.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.3858, allocations: 1.903 MB / 0.4913 GB, free: 6.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.3859, allocations: 61.7 kB / 0.4914 GB, free: 6.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.3872, allocations: 2.55 MB / 0.4939 GB, free: 4.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.3877, allocations: 0.8052 MB / 0.4947 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.388, allocations: 281 kB / 0.4949 GB, free: 3.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.3881, allocations: 305.1 kB / 0.4952 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.39, allocations: 1.404 MB / 0.4966 GB, free: 1.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.3925, allocations: 2.591 MB / 0.4991 GB, free: 14.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.3971, allocations: 4.242 MB / 0.5033 GB, free: 9.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.3972, allocations: 12 kB / 0.5033 GB, free: 9.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005886/0.403, allocations: 4.51 MB / 0.5077 GB, free: 4.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.4031, allocations: 24 kB / 0.5077 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.4031, allocations: 36.66 kB / 0.5077 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.4038, allocations: 317 kB / 0.508 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.4062, allocations: 0.7761 MB / 0.5088 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.4105, allocations: 4.635 MB / 0.5133 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4122, allocations: 412 kB / 0.5137 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.4124, allocations: 164 kB / 0.5139 GB, free: 14.34 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.002607/0.415, allocations: 2.194 MB / 0.516 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.4152, allocations: 213.3 kB / 0.5162 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/0.4199, allocations: 3.182 MB / 0.5193 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4199, allocations: 24.19 kB / 0.5193 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4199, allocations: 8 kB / 0.5194 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.4199, allocations: 15.89 kB / 0.5194 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1541/0.574, allocations: 12.67 MB / 0.5317 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.5741, allocations: 13.06 kB / 0.5318 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.5755, allocations: 438 kB / 0.5322 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/0.5761, allocations: 276.5 kB / 0.5324 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.5763, allocations: 67.8 kB / 0.5325 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.5799, allocations: 4.566 MB / 0.537 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.5799, allocations: 18.84 kB / 0.537 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.5855, allocations: 5.003 MB / 0.5419 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/0.5862, allocations: 0.5439 MB / 0.5424 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.5864, allocations: 61.66 kB / 0.5425 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.5876, allocations: 125.5 kB / 0.5426 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.5879, allocations: 207 kB / 0.5428 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.588, allocations: 84.84 kB / 0.5428 GB, free: 126.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.5895, allocations: 1.292 MB / 0.5441 GB, free: 126 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5895, allocations: 0 / 0.5441 GB, free: 126 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002996/0.5925, allocations: 1.438 MB / 0.5455 GB, free: 125.5 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.005212/0.5978, allocations: 5.66 MB / 0.551 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.6016, allocations: 3.623 MB / 0.5546 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6017, allocations: 5.281 kB / 0.5546 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.6032, allocations: 1.693 MB / 0.5562 GB, free: 120.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/0.6079, allocations: 0.4956 MB / 0.5567 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.6359, allocations: 33.17 MB / 0.5891 GB, free: 93.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/0.6385, allocations: 4.013 MB / 0.593 GB, free: 89.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002411/0.6409, allocations: 1.195 MB / 0.5942 GB, free: 88.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.6425, allocations: 1.991 MB / 0.5961 GB, free: 86.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6425, allocations: 0 / 0.5961 GB, free: 86.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.225/6.868, allocations: 62.45 MB / 0.6571 GB, free: 24.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/6.868, allocations: 247.2 kB / 0.6574 GB, free: 23.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.097/10.97, allocations: 0 / 0.6574 GB, free: 23.81 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