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.001113/0.001113, allocations: 112.7 kB / 17.74 MB, free: 5.328 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.001215/0.001215, allocations: 187 kB / 18.68 MB, free: 4.398 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 47.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2334, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006789/0.2402, allocations: 5.917 MB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2433, allocations: 2.06 MB / 409.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.2436, allocations: 43.81 kB / 409.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.2444, allocations: 401.4 kB / 409.8 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.2455, allocations: 0.5633 MB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.2459, allocations: 223.7 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.2477, allocations: 2.202 MB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.2497, allocations: 2.224 MB / 415 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2514, allocations: 1.052 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2527, allocations: 1.214 MB / 417.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.253, allocations: 292 kB / 417.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.2536, allocations: 371.8 kB / 417.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.2542, allocations: 0.6974 MB / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.2553, allocations: 1.233 MB / 419.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.2584, allocations: 3.796 MB / 423.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2584, allocations: 0 / 423.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2584, allocations: 0 / 423.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.713e-05/0.2585, allocations: 0 / 423.7 MB, free: 2.477 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.003855/0.2623, allocations: 2.437 MB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2624, allocations: 11.89 kB / 426.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.263, allocations: 263.5 kB / 426.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.265, allocations: 1.353 MB / 427.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.2651, allocations: 135.5 kB / 427.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.2654, allocations: 179.9 kB / 428 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/0.269, allocations: 2.543 MB / 430.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.269, allocations: 0 / 430.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.2692, allocations: 79.98 kB / 430.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.944e-05/0.2693, allocations: 99.58 kB / 430.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.2724, allocations: 2.103 MB / 432.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009301/0.2817, allocations: 7.389 MB / 440.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.2831, allocations: 1.25 MB / 441.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.2838, allocations: 472 kB / 442 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.284, allocations: 117.6 kB / 442.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.284, allocations: 42.98 kB / 442.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.696e-06/0.2841, allocations: 3.984 kB / 442.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003587/0.2876, allocations: 2.287 MB / 444.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.2877, allocations: 81.55 kB / 444.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2895, allocations: 1.512 MB / 446 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2895, allocations: 33.7 kB / 446 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.2901, allocations: 1.002 MB / 447 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2903, allocations: 202.4 kB / 447.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.2906, allocations: 250.7 kB / 447.5 MB, free: 10 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2907, allocations: 361.9 kB / 447.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/0.2914, allocations: 454.3 kB / 448.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2924, allocations: 1.098 MB / 449.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.2941, allocations: 1.619 MB / 451 MB, free: 5.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.2941, allocations: 8 kB / 451 MB, free: 5.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002455/0.2966, allocations: 1.688 MB / 452.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2966, allocations: 19.12 kB / 452.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.2967, allocations: 27.94 kB / 452.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/0.2974, allocations: 176.6 kB / 452.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.2983, allocations: 287.5 kB / 453.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.3004, allocations: 2.357 MB / 455.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/0.3013, allocations: 83.81 kB / 455.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.3014, allocations: 72 kB / 455.7 MB, free: 0.9961 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.000837/0.3023, allocations: 0.7001 MB / 456.4 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3025, allocations: 143.1 kB / 456.5 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3039, allocations: 0.8373 MB / 457.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3039, allocations: 3.984 kB / 457.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3039, allocations: 0 / 457.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.3043, allocations: 288.1 kB / 457.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.3045, allocations: 15.98 kB / 457.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.305, allocations: 43.97 kB / 457.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3051, allocations: 44.31 kB / 457.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00153/0.3067, allocations: 0.8831 MB / 458.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001665/0.3084, allocations: 1.323 MB / 460 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004447/0.3088, allocations: 327.3 kB / 460.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.3102, allocations: 1.032 MB / 461.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.3102, allocations: 0 / 461.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.3125, allocations: 1.081 MB / 462.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 0.005701/0.3182, allocations: 3.751 MB / 466.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of Templates: time 0.03477/0.353, allocations: 20.11 MB / 486.3 MB, free: 2.512 MB / 398.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