Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001416, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.0016/0.001601, allocations: 192 kB / 18 MB, free: 5.219 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009655/0.0009656, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2608, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007298/0.2681, allocations: 5.903 MB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.2729, allocations: 2.06 MB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.2737, allocations: 39.81 kB / 408.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.2749, allocations: 398.7 kB / 409.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.2765, allocations: 0.571 MB / 409.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.2769, allocations: 223.7 kB / 409.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.2791, allocations: 2.206 MB / 412.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.2813, allocations: 2.22 MB / 414.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.2833, allocations: 1.055 MB / 415.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.2846, allocations: 1.226 MB / 416.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.2849, allocations: 284 kB / 416.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.2855, allocations: 367.8 kB / 417.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.2861, allocations: 0.7052 MB / 418 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.2873, allocations: 1.229 MB / 419.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.2907, allocations: 3.782 MB / 423 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2907, allocations: 0 / 423 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2907, allocations: 4 kB / 423 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.607e-05/0.2908, allocations: 0 / 423 MB, free: 2.496 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004237/0.295, allocations: 2.381 MB / 425.4 MB, free: 60 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2951, allocations: 8.031 kB / 425.4 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.2957, allocations: 254.5 kB / 425.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.2976, allocations: 1.341 MB / 427 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.2977, allocations: 135.5 kB / 427.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.298, allocations: 187.8 kB / 427.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.3024, allocations: 2.543 MB / 429.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.3024, allocations: 0 / 429.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.3026, allocations: 72 kB / 429.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.98e-05/0.3027, allocations: 91.58 kB / 430 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.3061, allocations: 2.114 MB / 432.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009943/0.316, allocations: 7.355 MB / 439.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3174, allocations: 1.262 MB / 440.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.3181, allocations: 476 kB / 441.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3183, allocations: 113.5 kB / 441.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3184, allocations: 43 kB / 441.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.575e-06/0.3184, allocations: 0 / 441.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003918/0.3223, allocations: 2.265 MB / 443.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3224, allocations: 81.55 kB / 443.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.3242, allocations: 1.508 MB / 445.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.3243, allocations: 29.7 kB / 445.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00064/0.3249, allocations: 0.9712 MB / 446.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3251, allocations: 201.3 kB / 446.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.3254, allocations: 238.6 kB / 446.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3256, allocations: 361.9 kB / 447 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.3264, allocations: 454.3 kB / 447.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3275, allocations: 1.098 MB / 448.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.3292, allocations: 1.619 MB / 450.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3292, allocations: 4 kB / 450.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002573/0.3318, allocations: 1.683 MB / 451.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3318, allocations: 12 kB / 451.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.3319, allocations: 24 kB / 451.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/0.3326, allocations: 185.1 kB / 452 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.3335, allocations: 283.5 kB / 452.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.3357, allocations: 2.369 MB / 454.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/0.3367, allocations: 83.67 kB / 454.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.3368, allocations: 67.94 kB / 454.8 MB, free: 1.184 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001017/0.3378, allocations: 0.7118 MB / 455.5 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.338, allocations: 130.5 kB / 455.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.3394, allocations: 0.8488 MB / 456.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3394, allocations: 4 kB / 456.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3394, allocations: 0 / 456.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3394, allocations: 0 / 456.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.343, allocations: 2.494 MB / 459 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.343, allocations: 4 kB / 459 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3434, allocations: 95.88 kB / 459.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006099/0.344, allocations: 157 kB / 459.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.3441, allocations: 16 kB / 459.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.3462, allocations: 2.303 MB / 461.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3462, allocations: 7.969 kB / 461.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.348, allocations: 1.313 MB / 462.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.3485, allocations: 287.5 kB / 463.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3486, allocations: 12 kB / 463.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.3492, allocations: 52.02 kB / 463.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3493, allocations: 47.88 kB / 463.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.3494, allocations: 23.98 kB / 463.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.3508, allocations: 1.036 MB / 464.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3508, allocations: 0 / 464.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001225/0.352, allocations: 352 kB / 464.7 MB, free: 6.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003973/0.3524, allocations: 190 kB / 464.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.3543, allocations: 1.161 MB / 466 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3543, allocations: 3.781 kB / 466 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007626/0.3551, allocations: 0.5074 MB / 466.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.3567, allocations: 368.1 kB / 466.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.3618, allocations: 3.197 MB / 470.1 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.3632, allocations: 1.706 MB / 471.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008157/0.364, allocations: 323.3 kB / 472.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3642, allocations: 91.42 kB / 472.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3642, allocations: 0 / 472.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.0319/0.3961, allocations: 18.94 MB / 491.1 MB, free: 12.61 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches