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.001044/0.001044, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001072/0.001072, allocations: 195 kB / 18 MB, free: 4.965 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009249/0.0009249, allocations: 52.02 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2469, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006497/0.2534, allocations: 5.908 MB / 406.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.2571, allocations: 2.06 MB / 408.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.2578, allocations: 43.81 kB / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.2589, allocations: 385.4 kB / 409.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2603, allocations: 0.5476 MB / 409.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.2607, allocations: 223.7 kB / 409.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.2629, allocations: 2.214 MB / 412.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.2652, allocations: 2.216 MB / 414.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.2671, allocations: 1.04 MB / 415.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.2688, allocations: 1.218 MB / 416.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.2692, allocations: 292 kB / 416.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.2699, allocations: 367.8 kB / 417.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.2705, allocations: 0.7052 MB / 417.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.2718, allocations: 1.225 MB / 419.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.2752, allocations: 3.796 MB / 422.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2753, allocations: 3.984 kB / 422.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2753, allocations: 0 / 422.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-05/0.2753, allocations: 0 / 422.9 MB, free: 2.516 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.00426/0.2796, allocations: 2.437 MB / 425.4 MB, free: 20 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2797, allocations: 15.83 kB / 425.4 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.2803, allocations: 261.9 kB / 425.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.2824, allocations: 1.351 MB / 427 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.2825, allocations: 139.5 kB / 427.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.2828, allocations: 172 kB / 427.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.2865, allocations: 2.555 MB / 429.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.2866, allocations: 0 / 429.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.2868, allocations: 75.92 kB / 429.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.516e-05/0.2869, allocations: 99.58 kB / 430 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.2902, allocations: 2.11 MB / 432.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.3003, allocations: 7.377 MB / 439.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3017, allocations: 1.268 MB / 440.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.3024, allocations: 476.2 kB / 441.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.3027, allocations: 117.5 kB / 441.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3027, allocations: 43 kB / 441.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.3027, allocations: 0 / 441.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003822/0.3065, allocations: 2.283 MB / 443.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3066, allocations: 81.55 kB / 443.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.3085, allocations: 1.512 MB / 445.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.3086, allocations: 33.7 kB / 445.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/0.3092, allocations: 1.002 MB / 446.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.3094, allocations: 210.3 kB / 446.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.3097, allocations: 238.8 kB / 446.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3099, allocations: 357.9 kB / 447.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.3106, allocations: 454.3 kB / 447.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.3117, allocations: 1.094 MB / 448.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.3135, allocations: 1.619 MB / 450.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.3135, allocations: 4 kB / 450.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002629/0.3161, allocations: 1.699 MB / 452 MB, free: 4.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3162, allocations: 12 kB / 452 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.3162, allocations: 24 kB / 452 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.3169, allocations: 176.9 kB / 452.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.3177, allocations: 295.5 kB / 452.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.32, allocations: 2.361 MB / 454.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.3209, allocations: 87.81 kB / 454.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/0.321, allocations: 68 kB / 455 MB, free: 1.027 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.0009727/0.322, allocations: 0.6963 MB / 455.7 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.3222, allocations: 143.1 kB / 455.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.3237, allocations: 0.8373 MB / 456.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3237, allocations: 4 kB / 456.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3237, allocations: 0 / 456.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.3237, allocations: 7.984 kB / 456.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.3273, allocations: 2.498 MB / 459.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3273, allocations: 4 kB / 459.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.3277, allocations: 100.2 kB / 459.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.3283, allocations: 160.5 kB / 459.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.3284, allocations: 16 kB / 459.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.3305, allocations: 2.303 MB / 461.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3305, allocations: 12.05 kB / 461.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3323, allocations: 1.318 MB / 463.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.3328, allocations: 292.2 kB / 463.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3329, allocations: 12 kB / 463.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.3335, allocations: 47.91 kB / 463.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3336, allocations: 52 kB / 463.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.3337, allocations: 19.98 kB / 463.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.335, allocations: 1.028 MB / 464.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.335, allocations: 0 / 464.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00124/0.3363, allocations: 351.9 kB / 464.9 MB, free: 6.812 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.000425/0.3367, allocations: 203.9 kB / 465.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3385, allocations: 1.156 MB / 466.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3385, allocations: 0.8125 kB / 466.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007679/0.3393, allocations: 0.5182 MB / 466.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3407, allocations: 374.4 kB / 467.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.3461, allocations: 3.234 MB / 470.3 MB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.3478, allocations: 1.702 MB / 472 MB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008157/0.3486, allocations: 323.3 kB / 472.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.3489, allocations: 95.42 kB / 472.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of SimCode: time 1.773e-06/0.3489, allocations: 0 / 472.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of Templates: time 0.03096/0.3799, allocations: 18.95 MB / 491.4 MB, free: 12.37 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