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.001006/0.001006, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.0009694/0.0009694, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.34/1.34, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009935/0.0009937, allocations: 44.05 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.08715, allocations: 49.45 MB / 349.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00687/0.09405, allocations: 5.897 MB / 355.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.09757, allocations: 2.037 MB / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.09837, allocations: 39.81 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.09948, allocations: 334.4 kB / 357.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.101, allocations: 0.5053 MB / 358.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1015, allocations: 187.9 kB / 358.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.1037, allocations: 2.202 MB / 360.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.1069, allocations: 2.228 MB / 363 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.1096, allocations: 1.047 MB / 364 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1108, allocations: 1.245 MB / 365.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.1111, allocations: 288 kB / 365.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.1117, allocations: 375.8 kB / 365.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.1123, allocations: 0.7091 MB / 366.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.1134, allocations: 1.233 MB / 367.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1518/0.2652, allocations: 3.743 MB / 371.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2653, allocations: 0.6562 kB / 371.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2653, allocations: 0 / 371.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.913e-05/0.2654, allocations: 0.5625 kB / 371.6 MB, free: 15.5 MB / 302.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.004709/0.2701, allocations: 2.382 MB / 374 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.2702, allocations: 14.52 kB / 374 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.2711, allocations: 251.4 kB / 374.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.2729, allocations: 1.299 MB / 375.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.273, allocations: 133.4 kB / 375.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.2732, allocations: 177.2 kB / 375.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.2776, allocations: 2.552 MB / 378.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.2776, allocations: 1.938 kB / 378.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.2778, allocations: 70.78 kB / 378.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.2779, allocations: 94.33 kB / 378.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.281, allocations: 2.111 MB / 380.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008747/0.2898, allocations: 7.449 MB / 388.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2909, allocations: 1.265 MB / 389.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.2915, allocations: 478.7 kB / 389.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.2916, allocations: 115.8 kB / 390 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2917, allocations: 37.72 kB / 390 MB, free: 7.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.2917, allocations: 0 / 390 MB, free: 7.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003103/0.2948, allocations: 2.267 MB / 392.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.2948, allocations: 83.73 kB / 392.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.2964, allocations: 1.501 MB / 393.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2964, allocations: 37.7 kB / 393.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.2968, allocations: 0.9721 MB / 394.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.2969, allocations: 190.2 kB / 395.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.2972, allocations: 242.6 kB / 395.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.2973, allocations: 357 kB / 395.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.2978, allocations: 458.9 kB / 396.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/0.2986, allocations: 1.092 MB / 397.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.2999, allocations: 1.621 MB / 398.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2999, allocations: 6.438 kB / 398.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002055/0.302, allocations: 1.686 MB / 400.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.302, allocations: 17.22 kB / 400.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.302, allocations: 22.75 kB / 400.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.3027, allocations: 182.1 kB / 400.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.3035, allocations: 284.6 kB / 401 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.3057, allocations: 2.371 MB / 403.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008939/0.3066, allocations: 87.67 kB / 403.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.3067, allocations: 68 kB / 403.5 MB, free: 13.2 MB / 318.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.0008224/0.3075, allocations: 0.7092 MB / 404.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.3077, allocations: 130.4 kB / 404.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.3091, allocations: 0.8454 MB / 405.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3091, allocations: 4 kB / 405.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3091, allocations: 6.297 kB / 405.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3091, allocations: 0 / 405.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.3126, allocations: 2.5 MB / 407.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3126, allocations: 4 kB / 407.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.313, allocations: 93.56 kB / 407.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/0.3136, allocations: 156.1 kB / 408 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3137, allocations: 12 kB / 408 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.3157, allocations: 2.308 MB / 410.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3157, allocations: 0 / 410.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3175, allocations: 1.312 MB / 411.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.3179, allocations: 295.5 kB / 411.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.318, allocations: 12 kB / 411.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.3186, allocations: 48.03 kB / 411.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3187, allocations: 50.55 kB / 412 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.3188, allocations: 20 kB / 412 MB, free: 4.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.32, allocations: 1.044 MB / 413.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3201, allocations: 0 / 413.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001152/0.3212, allocations: 350.5 kB / 413.4 MB, free: 3.094 MB / 318.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.0003666/0.3216, allocations: 187.7 kB / 413.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.3234, allocations: 1.238 MB / 414.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3234, allocations: 4 kB / 414.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.3242, allocations: 0.5212 MB / 415.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.3256, allocations: 369.6 kB / 415.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.3304, allocations: 3.93 MB / 419.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.3316, allocations: 1.698 MB / 421.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008293/0.3325, allocations: 331.2 kB / 421.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3327, allocations: 91.44 kB / 421.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3327, allocations: 3.375 kB / 421.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Templates: time 0.03032/0.363, allocations: 18.44 MB / 440.2 MB, free: 8.566 MB / 350.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