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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001969/0.001969, allocations: 187 kB / 18.63 MB, free: 4.512 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009975/0.0009975, allocations: 47.77 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09551, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01348/0.109, allocations: 13.92 MB / 365.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007552/0.1166, allocations: 3.781 MB / 369.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.1187, allocations: 99.75 kB / 369.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1767/0.2954, allocations: 5.556 MB / 374.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.3005, allocations: 1.513 MB / 376.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.303, allocations: 1.057 MB / 377.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007758/0.3108, allocations: 6.286 MB / 383.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01597/0.3268, allocations: 13.66 MB / 397.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00516/0.332, allocations: 3.372 MB / 400.8 MB, free: 0 / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005701/0.3377, allocations: 3.854 MB / 404.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002513/0.3402, allocations: 0.8867 MB / 405.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.345, allocations: 1.069 MB / 406.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.3473, allocations: 1.775 MB / 408.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005301/0.3527, allocations: 3.565 MB / 411.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.3646, allocations: 11.94 MB / 423.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3647, allocations: 4 kB / 423.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3647, allocations: 0 / 423.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003265/0.365, allocations: 0 / 423.9 MB, free: 9.492 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.02172/0.3867, allocations: 7.768 MB / 431.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3868, allocations: 8.031 kB / 431.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/0.4057, allocations: 2.885 MB / 434.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009058/0.4148, allocations: 3.733 MB / 438.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/0.4152, allocations: 486.7 kB / 438.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.417, allocations: 0.6229 MB / 439.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.4355, allocations: 9.314 MB / 448.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.4357, allocations: 7.906 kB / 448.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/0.4362, allocations: 265.8 kB / 448.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.4365, allocations: 313.4 kB / 449.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.4501, allocations: 7.956 MB / 457.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/0.4918, allocations: 28.22 MB / 485.4 MB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5023, allocations: 11.69 MB / 497.1 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.5046, allocations: 1.621 MB / 498.7 MB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.5048, allocations: 135.9 kB / 498.8 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.5049, allocations: 64.55 kB / 498.9 MB, free: 12.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.008e-06/0.5049, allocations: 0 / 498.9 MB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007686/0.5126, allocations: 4.176 MB / 0.4913 GB, free: 7.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5126, allocations: 107 kB / 0.4914 GB, free: 7.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.5153, allocations: 1.899 MB / 0.4933 GB, free: 5.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.5155, allocations: 65.7 kB / 0.4933 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.517, allocations: 2.534 MB / 0.4958 GB, free: 3.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006267/0.5176, allocations: 0.8065 MB / 0.4966 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008977/0.5185, allocations: 0.6676 MB / 0.4972 GB, free: 1.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5186, allocations: 301.1 kB / 0.4975 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.5206, allocations: 1.41 MB / 0.4989 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.5233, allocations: 2.591 MB / 0.5014 GB, free: 12.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.5281, allocations: 4.234 MB / 0.5056 GB, free: 8.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.5281, allocations: 12 kB / 0.5056 GB, free: 8.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006559/0.5347, allocations: 4.518 MB / 0.51 GB, free: 3.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.5347, allocations: 20 kB / 0.51 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/0.5348, allocations: 40.03 kB / 0.51 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007246/0.5355, allocations: 325 kB / 0.5104 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.538, allocations: 0.7722 MB / 0.5111 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.543, allocations: 5.033 MB / 0.516 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.5451, allocations: 412 kB / 0.5164 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.5454, allocations: 164 kB / 0.5166 GB, free: 12.49 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.003191/0.5486, allocations: 2.191 MB / 0.5187 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.549, allocations: 213.3 kB / 0.5189 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.5538, allocations: 3.177 MB / 0.522 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.5539, allocations: 28 kB / 0.522 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5539, allocations: 4 kB / 0.522 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.5539, allocations: 15.94 kB / 0.5221 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1879/0.7419, allocations: 11.74 MB / 0.5335 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.7419, allocations: 13.75 kB / 0.5335 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.7436, allocations: 437.2 kB / 0.534 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006858/0.7443, allocations: 271.7 kB / 0.5342 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.7445, allocations: 72.56 kB / 0.5343 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.7489, allocations: 4.979 MB / 0.5391 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/0.749, allocations: 27.12 kB / 0.5392 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.7556, allocations: 5.001 MB / 0.5441 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.7569, allocations: 0.5322 MB / 0.5446 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.7572, allocations: 61.83 kB / 0.5446 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7585, allocations: 123 kB / 0.5448 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.7589, allocations: 204.5 kB / 0.5449 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.7591, allocations: 83.98 kB / 0.545 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.761, allocations: 1.301 MB / 0.5463 GB, free: 131.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.761, allocations: 3.562 kB / 0.5463 GB, free: 131.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003886/0.7649, allocations: 1.427 MB / 0.5477 GB, free: 130.7 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.000451/0.7654, allocations: 215.9 kB / 0.5479 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005169/0.7706, allocations: 3.658 MB / 0.5515 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.7706, allocations: 0 / 0.5515 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.7726, allocations: 1.69 MB / 0.5531 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.7752, allocations: 0.5148 MB / 0.5536 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.7885, allocations: 9.882 MB / 0.5633 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/0.7915, allocations: 4.006 MB / 0.5672 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002593/0.7941, allocations: 1.202 MB / 0.5684 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.7946, allocations: 186.7 kB / 0.5685 GB, free: 121.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7946, allocations: 3.828 kB / 0.5685 GB, free: 121.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04458/0.8392, allocations: 30.79 MB / 0.5986 GB, free: 93.17 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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