Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009275/0.0009275, allocations: 194 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007775/0.0007772, allocations: 92.91 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002502, allocations: 4 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2097, allocations: 51.3 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008356/0.2181, allocations: 12.06 MB / 420.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.2239, allocations: 3.514 MB / 423.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.2257, allocations: 95.69 kB / 423.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.2274, allocations: 0.5512 MB / 424.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.2312, allocations: 1.152 MB / 425.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2335, allocations: 0.9614 MB / 426.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008217/0.2417, allocations: 9.102 MB / 435.5 MB, free: 204 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01978/0.2615, allocations: 13.83 MB / 449.3 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.2648, allocations: 2.332 MB / 451.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/0.2683, allocations: 2.79 MB / 454.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006453/0.2689, allocations: 376 kB / 454.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.2704, allocations: 0.5584 MB / 455.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008763/0.2712, allocations: 1.102 MB / 456.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.274, allocations: 2.732 MB / 459.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008676/0.2827, allocations: 10 MB / 469.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2828, allocations: 0 / 469.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2828, allocations: 0 / 469.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.2831, allocations: 0 / 469.2 MB, free: 14.3 MB / 346.7 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.01481/0.2979, allocations: 6.504 MB / 475.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.298, allocations: 12.03 kB / 475.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/0.3154, allocations: 2.936 MB / 478.7 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008076/0.3235, allocations: 3.623 MB / 482.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.324, allocations: 481 kB / 482.7 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.3262, allocations: 0.621 MB / 483.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.3453, allocations: 9.263 MB / 492.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.3455, allocations: 11.91 kB / 492.6 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006457/0.3461, allocations: 264 kB / 492.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.3464, allocations: 325.4 kB / 493.2 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.3607, allocations: 7.899 MB / 0.4894 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2543/0.6151, allocations: 29.13 MB / 0.5178 GB, free: 72.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.6237, allocations: 11.68 MB / 0.5292 GB, free: 61.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.6259, allocations: 1.606 MB / 0.5308 GB, free: 60.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.6262, allocations: 218 kB / 0.531 GB, free: 60.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.6263, allocations: 60.38 kB / 0.5311 GB, free: 60.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.308e-06/0.6263, allocations: 0 / 0.5311 GB, free: 60.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006861/0.6331, allocations: 4.159 MB / 0.5351 GB, free: 58.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6332, allocations: 113.6 kB / 0.5352 GB, free: 58.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.6356, allocations: 1.885 MB / 0.5371 GB, free: 57.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.6358, allocations: 65.52 kB / 0.5371 GB, free: 57.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.637, allocations: 2.544 MB / 0.5396 GB, free: 54.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.6376, allocations: 0.8085 MB / 0.5404 GB, free: 54.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.6377, allocations: 73.5 kB / 0.5405 GB, free: 54.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.6379, allocations: 454.2 kB / 0.5409 GB, free: 53.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.6398, allocations: 1.383 MB / 0.5423 GB, free: 52.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.6423, allocations: 2.581 MB / 0.5448 GB, free: 50.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/0.6465, allocations: 4.219 MB / 0.5489 GB, free: 45.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.6466, allocations: 8 kB / 0.5489 GB, free: 45.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005834/0.6524, allocations: 4.491 MB / 0.5533 GB, free: 41.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.6525, allocations: 20 kB / 0.5533 GB, free: 41.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/0.6525, allocations: 40 kB / 0.5533 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.6533, allocations: 305.4 kB / 0.5536 GB, free: 40.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.6559, allocations: 0.7838 MB / 0.5544 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.66, allocations: 4.616 MB / 0.5589 GB, free: 35.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.6624, allocations: 412 kB / 0.5593 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.6627, allocations: 160 kB / 0.5595 GB, free: 34.7 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003714/0.6665, allocations: 2.198 MB / 0.5616 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.6669, allocations: 205.4 kB / 0.5618 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.6713, allocations: 3.17 MB / 0.5649 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.6713, allocations: 24 kB / 0.5649 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.6714, allocations: 4 kB / 0.5649 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.6714, allocations: 11.95 kB / 0.5649 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.6875, allocations: 12.65 MB / 0.5773 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.6876, allocations: 15.98 kB / 0.5773 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.6892, allocations: 439.3 kB / 0.5777 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.6898, allocations: 277.6 kB / 0.578 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.69, allocations: 67.94 kB / 0.5781 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.6938, allocations: 4.557 MB / 0.5825 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.6938, allocations: 15.94 kB / 0.5825 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/0.6993, allocations: 4.976 MB / 0.5874 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.7003, allocations: 0.5445 MB / 0.5879 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.7006, allocations: 63.98 kB / 0.588 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7017, allocations: 131.9 kB / 0.5881 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.702, allocations: 201.3 kB / 0.5883 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.7021, allocations: 87.94 kB / 0.5884 GB, free: 3.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00185/0.704, allocations: 1.283 MB / 0.5896 GB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.704, allocations: 0 / 0.5896 GB, free: 2.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00399/0.708, allocations: 1.43 MB / 0.591 GB, free: 1.199 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.7085, allocations: 220 kB / 0.5912 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00617/0.7147, allocations: 3.603 MB / 0.5948 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/0.7148, allocations: 5.812 kB / 0.5948 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.7176, allocations: 1.687 MB / 0.5964 GB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/0.7233, allocations: 0.496 MB / 0.5969 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.7432, allocations: 11.94 MB / 0.6086 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/0.7477, allocations: 3.9 MB / 0.6124 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7488, allocations: 219.4 kB / 0.6126 GB, free: 10.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7488, allocations: 0 / 0.6126 GB, free: 10.85 MB / 410.7 MB Notification: Performance of Templates: time 0.3117/1.06, allocations: 123 MB / 0.7326 GB, free: 103.2 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches