Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 105.9 kB / 16.92 MB, free: 6.184 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.001958/0.001958, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.317/1.317, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001033, allocations: 42.47 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.0975, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01432/0.1119, allocations: 13.92 MB / 364.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007351/0.1192, allocations: 3.777 MB / 367.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.1214, allocations: 95.75 kB / 368 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1706/0.2921, allocations: 5.561 MB / 373.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.2967, allocations: 1.514 MB / 375 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.2997, allocations: 1.062 MB / 376.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007437/0.3071, allocations: 6.235 MB / 382.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/0.3239, allocations: 13.71 MB / 396 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005826/0.3297, allocations: 3.402 MB / 399.4 MB, free: 0 / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006145/0.3359, allocations: 3.859 MB / 403.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.3378, allocations: 0.8867 MB / 404.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.3405, allocations: 1.072 MB / 405.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.3423, allocations: 1.764 MB / 407 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004455/0.3467, allocations: 3.567 MB / 410.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.358, allocations: 11.87 MB / 422.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.358, allocations: 0 / 422.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.358, allocations: 4 kB / 422.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.3583, allocations: 0 / 422.5 MB, free: 9.824 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.01934/0.3776, allocations: 7.775 MB / 430.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3777, allocations: 8.031 kB / 430.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00194/0.3796, allocations: 1.042 MB / 431.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/0.3985, allocations: 2.893 MB / 434.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.4055, allocations: 3.61 MB / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.4059, allocations: 487 kB / 438.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.4074, allocations: 0.6266 MB / 438.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.4255, allocations: 9.335 MB / 448.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.4257, allocations: 12.08 kB / 448.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007843/0.4265, allocations: 262.7 kB / 448.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.4268, allocations: 317.5 kB / 448.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.4409, allocations: 7.966 MB / 456.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04197/0.4829, allocations: 28.58 MB / 485.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.494, allocations: 11.72 MB / 497.1 MB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/0.4965, allocations: 1.621 MB / 498.7 MB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.4967, allocations: 136.4 kB / 498.8 MB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.4968, allocations: 60.55 kB / 498.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.877e-06/0.4968, allocations: 0 / 498.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007823/0.5046, allocations: 4.166 MB / 0.4913 GB, free: 6.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.5047, allocations: 103.1 kB / 0.4914 GB, free: 6.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.5082, allocations: 1.895 MB / 0.4932 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003942/0.5087, allocations: 73.64 kB / 0.4933 GB, free: 4.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.5103, allocations: 2.553 MB / 0.4958 GB, free: 2.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.5112, allocations: 0.8035 MB / 0.4966 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.5123, allocations: 0.6637 MB / 0.4972 GB, free: 0.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.5124, allocations: 305.1 kB / 0.4975 GB, free: 332 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.5145, allocations: 1.406 MB / 0.4989 GB, free: 14.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.5174, allocations: 2.601 MB / 0.5014 GB, free: 11.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.5226, allocations: 4.235 MB / 0.5056 GB, free: 7.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.5226, allocations: 12 kB / 0.5056 GB, free: 7.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00726/0.5299, allocations: 4.507 MB / 0.51 GB, free: 2.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.5299, allocations: 20 kB / 0.51 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.077e-05/0.53, allocations: 44.03 kB / 0.51 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.5309, allocations: 313.4 kB / 0.5103 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.5336, allocations: 0.78 MB / 0.5111 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.5389, allocations: 5.048 MB / 0.516 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.5412, allocations: 404 kB / 0.5164 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.5417, allocations: 172 kB / 0.5166 GB, free: 11.45 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.003217/0.5449, allocations: 2.187 MB / 0.5187 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.5453, allocations: 209.4 kB / 0.5189 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/0.5505, allocations: 3.193 MB / 0.522 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.5506, allocations: 24 kB / 0.522 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.5506, allocations: 4 kB / 0.5221 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.5506, allocations: 15.89 kB / 0.5221 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1624/0.713, allocations: 11.78 MB / 0.5336 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.7131, allocations: 14.16 kB / 0.5336 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.7148, allocations: 440.5 kB / 0.534 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006448/0.7155, allocations: 273.9 kB / 0.5343 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.7156, allocations: 65.08 kB / 0.5343 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.7199, allocations: 4.982 MB / 0.5392 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/0.7199, allocations: 23.72 kB / 0.5392 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006252/0.7262, allocations: 4.993 MB / 0.5441 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/0.7271, allocations: 0.5376 MB / 0.5446 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.7274, allocations: 62.33 kB / 0.5447 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7286, allocations: 125.8 kB / 0.5448 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/0.729, allocations: 204.2 kB / 0.545 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7291, allocations: 88.17 kB / 0.5451 GB, free: 131.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.7307, allocations: 1.289 MB / 0.5463 GB, free: 131 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7307, allocations: 0 / 0.5463 GB, free: 131 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003554/0.7342, allocations: 1.438 MB / 0.5477 GB, free: 130.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.006012/0.7403, allocations: 5.671 MB / 0.5533 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007067/0.7474, allocations: 4.15 MB / 0.5573 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.207e-05/0.7474, allocations: 0 / 0.5573 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.7494, allocations: 1.698 MB / 0.559 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.7522, allocations: 0.513 MB / 0.5595 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/0.7851, allocations: 30.59 MB / 0.5894 GB, free: 98.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/0.7881, allocations: 4.009 MB / 0.5933 GB, free: 94.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00278/0.7909, allocations: 1.198 MB / 0.5944 GB, free: 93.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.7927, allocations: 1.999 MB / 0.5964 GB, free: 91.73 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.7927, allocations: 0 / 0.5964 GB, free: 91.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08183/0.8745, allocations: 64.47 MB / 0.6594 GB, free: 27.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.09, allocations: 8.062 kB / 0.6594 GB, free: 27.56 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches