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.0007825/0.0007825, allocations: 92.55 kB / 17.31 MB, free: 6.539 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.0008386/0.0008386, allocations: 176 kB / 18.21 MB, free: 5.68 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.129/1.129, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002029/0.0002029, allocations: 12 kB / 302.1 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07038/0.07059, allocations: 50.41 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.0049/0.07552, allocations: 5.438 MB / 357.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.07844, allocations: 2.033 MB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.07898, allocations: 35.81 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.07973, allocations: 338.4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.08085, allocations: 0.5052 MB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.0812, allocations: 183.9 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.08312, allocations: 2.487 MB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.08485, allocations: 1.852 MB / 365.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.0863, allocations: 0.7927 MB / 366.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.08727, allocations: 1.003 MB / 367.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.08744, allocations: 124 kB / 367.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.08782, allocations: 223.8 kB / 367.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.08819, allocations: 0.5099 MB / 368 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007875/0.08899, allocations: 1.036 MB / 369 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1309/0.2199, allocations: 3.074 MB / 372.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.22, allocations: 1.344 kB / 372.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.22, allocations: 1.031 kB / 372.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.311e-05/0.2201, allocations: 3 kB / 372.1 MB, free: 13.44 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.003968/0.224, allocations: 2.028 MB / 374.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2241, allocations: 9.406 kB / 374.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.2249, allocations: 255.2 kB / 374.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.2268, allocations: 1.301 MB / 375.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2269, allocations: 130.8 kB / 375.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.2273, allocations: 176.6 kB / 376 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.2311, allocations: 2.56 MB / 378.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.2311, allocations: 0 / 378.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.2313, allocations: 71.61 kB / 378.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.545e-05/0.2313, allocations: 96.06 kB / 378.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.2343, allocations: 2.125 MB / 380.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007965/0.2423, allocations: 7.513 MB / 388.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2433, allocations: 1.264 MB / 389.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.2439, allocations: 488.4 kB / 390.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.2441, allocations: 116.5 kB / 390.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2441, allocations: 41.97 kB / 390.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.794e-06/0.2441, allocations: 0 / 390.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002994/0.2471, allocations: 2.29 MB / 392.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2471, allocations: 86.89 kB / 392.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2486, allocations: 1.502 MB / 394.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2486, allocations: 38.23 kB / 394.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.249, allocations: 0.9693 MB / 395.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.2491, allocations: 197.2 kB / 395.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.2492, allocations: 101.3 kB / 395.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.2493, allocations: 359.6 kB / 395.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.2498, allocations: 469.2 kB / 396.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/0.2505, allocations: 1.093 MB / 397.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.2518, allocations: 1.634 MB / 399 MB, free: 348 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.2518, allocations: 7.625 kB / 399 MB, free: 348 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001951/0.2537, allocations: 1.701 MB / 400.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2538, allocations: 11.38 kB / 400.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2538, allocations: 25.81 kB / 400.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.2544, allocations: 179.7 kB / 400.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.2551, allocations: 283 kB / 401.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.257, allocations: 2.163 MB / 403.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.2578, allocations: 95.67 kB / 403.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.2579, allocations: 64 kB / 403.5 MB, free: 13.32 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.0007264/0.2586, allocations: 0.7046 MB / 404.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2588, allocations: 138.3 kB / 404.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.26, allocations: 0.8503 MB / 405.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.26, allocations: 4 kB / 405.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2601, allocations: 7.984 kB / 405.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2601, allocations: 0 / 405.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.2632, allocations: 2.516 MB / 407.7 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2632, allocations: 0 / 407.7 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.2636, allocations: 105.8 kB / 407.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.2642, allocations: 155.2 kB / 408 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.2642, allocations: 16 kB / 408 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.266, allocations: 2.091 MB / 410.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.266, allocations: 4 kB / 410.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.2676, allocations: 1.341 MB / 411.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.268, allocations: 278.8 kB / 411.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2681, allocations: 19.98 kB / 411.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.2687, allocations: 52.03 kB / 411.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.2687, allocations: 51.88 kB / 411.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.2688, allocations: 20 kB / 411.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.27, allocations: 1.036 MB / 412.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.27, allocations: 0 / 412.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00103/0.271, allocations: 351.6 kB / 413.2 MB, free: 3.379 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.0003555/0.2714, allocations: 198.7 kB / 413.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2729, allocations: 1.152 MB / 414.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2729, allocations: 4 kB / 414.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.2736, allocations: 0.5251 MB / 415.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.2753, allocations: 369.1 kB / 415.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.2799, allocations: 3.968 MB / 419.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.281, allocations: 1.669 MB / 421.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2812, allocations: 87.44 kB / 421.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2812, allocations: 4 kB / 421.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Templates: time 0.0324/0.3136, allocations: 31.87 MB / 453 MB, free: 11.65 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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