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.001545/0.001545, allocations: 106.5 kB / 16.92 MB, free: 5.77 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.001748/0.001748, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.329/1.329, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 49.23 kB / 300.6 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09412, allocations: 49.44 MB / 350.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006503/0.1007, allocations: 5.898 MB / 356 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.1039, allocations: 2.06 MB / 358 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1044, allocations: 43.81 kB / 358.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008392/0.1053, allocations: 389.7 kB / 358.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.1065, allocations: 0.5476 MB / 359 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1068, allocations: 223.8 kB / 359.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.1088, allocations: 2.198 MB / 361.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.111, allocations: 2.228 MB / 363.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.1127, allocations: 1.045 MB / 364.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.114, allocations: 1.21 MB / 365.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.1144, allocations: 288 kB / 366.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.115, allocations: 371.8 kB / 366.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.1156, allocations: 0.7091 MB / 367.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.1168, allocations: 1.225 MB / 368.5 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1556/0.2724, allocations: 3.746 MB / 372.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2725, allocations: 0.75 kB / 372.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2725, allocations: 0 / 372.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.703e-05/0.2725, allocations: 0.9688 kB / 372.2 MB, free: 15.61 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.004257/0.2768, allocations: 2.379 MB / 374.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2769, allocations: 13.64 kB / 374.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.2775, allocations: 255 kB / 374.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2793, allocations: 1.302 MB / 376.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.2794, allocations: 135.1 kB / 376.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.2796, allocations: 174.9 kB / 376.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.2833, allocations: 2.551 MB / 379 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.2833, allocations: 0 / 379 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.2835, allocations: 72.25 kB / 379.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.2836, allocations: 97.97 kB / 379.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.2864, allocations: 2.107 MB / 381.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008302/0.2947, allocations: 7.449 MB / 388.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2958, allocations: 1.267 MB / 390 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.2964, allocations: 469.2 kB / 390.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.2966, allocations: 122.2 kB / 390.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2966, allocations: 37.88 kB / 390.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.2966, allocations: 0 / 390.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003266/0.2999, allocations: 2.259 MB / 392.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.2999, allocations: 86.8 kB / 393 MB, free: 5.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.3015, allocations: 1.503 MB / 394.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3016, allocations: 38.86 kB / 394.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.302, allocations: 0.9712 MB / 395.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.321e-05/0.3021, allocations: 188.6 kB / 395.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.3024, allocations: 246.1 kB / 395.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.3024, allocations: 356.6 kB / 396.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.303, allocations: 466.6 kB / 396.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.3038, allocations: 1.09 MB / 397.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.305, allocations: 1.612 MB / 399.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.305, allocations: 9.25 kB / 399.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002085/0.3071, allocations: 1.688 MB / 401.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3071, allocations: 16.62 kB / 401.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3072, allocations: 22.38 kB / 401.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.3078, allocations: 177.2 kB / 401.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.3086, allocations: 288 kB / 401.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.3109, allocations: 2.373 MB / 404 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.3119, allocations: 83.67 kB / 404 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.312, allocations: 68 kB / 404.1 MB, free: 13.05 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.001273/0.3133, allocations: 0.7061 MB / 404.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.3136, allocations: 134.4 kB / 405 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3151, allocations: 0.8392 MB / 405.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3151, allocations: 7.984 kB / 405.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3151, allocations: 4 kB / 405.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3151, allocations: 2.406 kB / 405.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/0.3187, allocations: 2.5 MB / 408.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3188, allocations: 4.344 kB / 408.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.3191, allocations: 101.2 kB / 408.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006107/0.3198, allocations: 151.3 kB / 408.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.3198, allocations: 12 kB / 408.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.3219, allocations: 2.303 MB / 410.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.3219, allocations: 10.66 kB / 410.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.3238, allocations: 1.315 MB / 412.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.3244, allocations: 283.5 kB / 412.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.3246, allocations: 16 kB / 412.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.3253, allocations: 48.03 kB / 412.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3254, allocations: 46.56 kB / 412.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3255, allocations: 23.98 kB / 412.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.327, allocations: 1.036 MB / 413.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.327, allocations: 0 / 413.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001523/0.3286, allocations: 356 kB / 414 MB, free: 2.941 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.0004667/0.329, allocations: 196.5 kB / 414.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.3312, allocations: 1.236 MB / 415.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3312, allocations: 0 / 415.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008075/0.332, allocations: 0.5218 MB / 415.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.3338, allocations: 373.9 kB / 416.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.3393, allocations: 3.223 MB / 419.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.3407, allocations: 1.702 MB / 421.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000926/0.3416, allocations: 327.2 kB / 421.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3419, allocations: 95.42 kB / 421.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3419, allocations: 0 / 421.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Templates: time 0.03082/0.3727, allocations: 18.55 MB / 440.2 MB, free: 9.016 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