Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 104 kB / 16.92 MB, free: 5.793 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.001011/0.001011, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.303/1.303, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009816/0.0009817, allocations: 47.39 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.0926, allocations: 49.44 MB / 350.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0145/0.1071, allocations: 12.89 MB / 362.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.1151, allocations: 4.187 MB / 367.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.1173, allocations: 79.69 kB / 367.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.1198, allocations: 0.9665 MB / 368.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.1229, allocations: 1.173 MB / 369.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.1239, allocations: 0.5149 MB / 369.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1775/0.3014, allocations: 4.61 MB / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.3059, allocations: 3.686 MB / 378.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.3105, allocations: 2.114 MB / 380.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.3141, allocations: 2.554 MB / 382.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.3152, allocations: 0.5511 MB / 383.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.3167, allocations: 0.6409 MB / 384 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3182, allocations: 1.523 MB / 385.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.3212, allocations: 2.481 MB / 388 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.3274, allocations: 7.347 MB / 395.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3274, allocations: 0 / 395.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3274, allocations: 3.984 kB / 395.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.3275, allocations: 0 / 395.4 MB, free: 3.047 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009251/0.3368, allocations: 4.692 MB / 400.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3368, allocations: 8.031 kB / 400.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.3382, allocations: 0.4917 MB / 400.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.3426, allocations: 2.494 MB / 403.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3428, allocations: 271.2 kB / 403.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006441/0.3435, allocations: 359.7 kB / 403.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008065/0.3516, allocations: 5.026 MB / 408.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/0.3517, allocations: 7.906 kB / 408.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.352, allocations: 144 kB / 408.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.3522, allocations: 175.1 kB / 409 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/0.3591, allocations: 4.305 MB / 413.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/0.3828, allocations: 14.9 MB / 428.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/0.3875, allocations: 4.183 MB / 432.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/0.3908, allocations: 2.001 MB / 434.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.3911, allocations: 128.6 kB / 434.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.3912, allocations: 56.56 kB / 434.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.118e-06/0.3912, allocations: 0 / 434.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02159/0.4128, allocations: 9.951 MB / 444.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4129, allocations: 73.41 kB / 444.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.4175, allocations: 2.506 MB / 447.1 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.4177, allocations: 61.7 kB / 447.2 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.4189, allocations: 1.622 MB / 448.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006597/0.4196, allocations: 0.735 MB / 449.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.4204, allocations: 420.2 kB / 449.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4205, allocations: 301.1 kB / 450.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.4226, allocations: 1.297 MB / 451.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.4249, allocations: 1.782 MB / 453.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/0.4295, allocations: 3.203 MB / 456.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.4296, allocations: 4 kB / 456.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007511/0.4371, allocations: 4.075 MB / 460.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.4372, allocations: 16 kB / 460.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/0.4372, allocations: 16 kB / 460.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.4402, allocations: 0.8934 MB / 461.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.4424, allocations: 0.5266 MB / 462.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.4535, allocations: 9.486 MB / 471.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.4563, allocations: 119.9 kB / 471.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/0.4567, allocations: 80 kB / 471.7 MB, free: 6.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002553/0.4593, allocations: 1.211 MB / 472.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/0.4601, allocations: 276.7 kB / 473.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006513/0.4666, allocations: 3.722 MB / 476.9 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.4667, allocations: 20 kB / 477 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.4667, allocations: 8 kB / 477 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.4667, allocations: 7.969 kB / 477 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.4807, allocations: 8.087 MB / 485.1 MB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4807, allocations: 8.281 kB / 485.1 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.4824, allocations: 379.5 kB / 485.4 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/0.4856, allocations: 0.9408 MB / 486.4 MB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.4859, allocations: 51.92 kB / 486.4 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.4976, allocations: 11.11 MB / 497.5 MB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.4976, allocations: 11.88 kB / 497.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008889/0.5065, allocations: 5.497 MB / 0.4913 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.5083, allocations: 0.6304 MB / 0.4919 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009914/0.5093, allocations: 51.98 kB / 0.4919 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.5113, allocations: 119.9 kB / 0.492 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.5118, allocations: 181.7 kB / 0.4922 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.5119, allocations: 55.98 kB / 0.4923 GB, free: 5.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003351/0.5153, allocations: 1.731 MB / 0.494 GB, free: 3.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5153, allocations: 0 / 0.494 GB, free: 3.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003326/0.5186, allocations: 0.8085 MB / 0.4947 GB, free: 3.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006646/0.5193, allocations: 235.3 kB / 0.495 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01027/0.5296, allocations: 5.715 MB / 0.5005 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5296, allocations: 0 / 0.5005 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.5334, allocations: 2.476 MB / 0.503 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/0.5374, allocations: 0.7877 MB / 0.5037 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.5514, allocations: 7.824 MB / 0.5114 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/0.555, allocations: 2.769 MB / 0.5141 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002297/0.5573, allocations: 0.6788 MB / 0.5147 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006944/0.558, allocations: 179.4 kB / 0.5149 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.558, allocations: 0 / 0.5149 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Templates: time 0.2499/0.808, allocations: 46.43 MB / 0.5603 GB, free: 135.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches