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.001509/0.001509, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001677/0.001677, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 49.66 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09318, allocations: 49.45 MB / 350.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007259/0.1005, allocations: 5.902 MB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.1043, allocations: 2.072 MB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.1051, allocations: 39.81 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1063, allocations: 389.7 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.1079, allocations: 0.5515 MB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1084, allocations: 219.8 kB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.1105, allocations: 2.202 MB / 362.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.1128, allocations: 2.212 MB / 364.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.1148, allocations: 1.054 MB / 365.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.1166, allocations: 1.206 MB / 366.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.117, allocations: 292 kB / 366.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.1178, allocations: 371.8 kB / 367.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.1184, allocations: 0.7091 MB / 367.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1198, allocations: 1.225 MB / 369.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1632/0.283, allocations: 3.743 MB / 372.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2831, allocations: 0.9375 kB / 372.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2831, allocations: 0 / 372.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.478e-05/0.2832, allocations: 0 / 372.9 MB, free: 15.59 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.005015/0.2882, allocations: 2.38 MB / 375.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2883, allocations: 17.27 kB / 375.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.2891, allocations: 248.3 kB / 375.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.2913, allocations: 1.305 MB / 376.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.2914, allocations: 130 kB / 377 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.2917, allocations: 185.3 kB / 377.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/0.2962, allocations: 2.546 MB / 379.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.2963, allocations: 1.469 kB / 379.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.2965, allocations: 72.31 kB / 379.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.2966, allocations: 94.39 kB / 379.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/0.3, allocations: 2.111 MB / 382 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009844/0.3099, allocations: 7.445 MB / 389.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3112, allocations: 1.269 MB / 390.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.3119, allocations: 472.9 kB / 391.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.3121, allocations: 118.3 kB / 391.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3121, allocations: 42.28 kB / 391.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.935e-06/0.3121, allocations: 0 / 391.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003881/0.316, allocations: 2.254 MB / 393.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3161, allocations: 87.09 kB / 393.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.318, allocations: 1.506 MB / 395.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.3181, allocations: 37.83 kB / 395.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.3186, allocations: 0.9718 MB / 396.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3187, allocations: 192 kB / 396.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.319, allocations: 241.1 kB / 396.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.319, allocations: 361 kB / 396.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.3197, allocations: 456.7 kB / 397.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.3205, allocations: 1.093 MB / 398.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3218, allocations: 1.62 MB / 400.1 MB, free: 464 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3218, allocations: 7.5 kB / 400.1 MB, free: 464 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002449/0.3243, allocations: 1.687 MB / 401.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3243, allocations: 16 kB / 401.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.3244, allocations: 21.16 kB / 401.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/0.3252, allocations: 185.9 kB / 402 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008936/0.3261, allocations: 282.9 kB / 402.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.3284, allocations: 2.369 MB / 404.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3296, allocations: 83.67 kB / 404.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3297, allocations: 64 kB / 404.8 MB, free: 12.95 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.001042/0.3308, allocations: 0.7131 MB / 405.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.3311, allocations: 134.4 kB / 405.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.3325, allocations: 0.8332 MB / 406.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3325, allocations: 4 kB / 406.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3325, allocations: 0 / 406.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3325, allocations: 7.734 kB / 406.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.3364, allocations: 2.503 MB / 409 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.3364, allocations: 7.984 kB / 409 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.3368, allocations: 97.55 kB / 409.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/0.3375, allocations: 155.3 kB / 409.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.3375, allocations: 12 kB / 409.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.3396, allocations: 2.304 MB / 411.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3397, allocations: 4 kB / 411.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.3416, allocations: 1.315 MB / 412.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.3422, allocations: 287.5 kB / 413.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.3424, allocations: 16 kB / 413.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.3431, allocations: 48.03 kB / 413.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3432, allocations: 46.56 kB / 413.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.3432, allocations: 23.98 kB / 413.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.3447, allocations: 1.038 MB / 414.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 4 kB / 414.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001481/0.3462, allocations: 352 kB / 414.7 MB, free: 2.844 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.0004662/0.3466, allocations: 193.6 kB / 414.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.3488, allocations: 1.24 MB / 416.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3488, allocations: 0 / 416.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.3496, allocations: 0.5169 MB / 416.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.3515, allocations: 371.7 kB / 417 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.3567, allocations: 3.216 MB / 420.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.3579, allocations: 1.662 MB / 421.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.3583, allocations: 99.42 kB / 422 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3583, allocations: 0 / 422 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Templates: time 0.03884/0.3971, allocations: 32.13 MB / 454.1 MB, free: 11.55 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