Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001206, allocations: 115 kB / 16.63 MB, free: 6.812 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.001254/0.001255, allocations: 186 kB / 17.55 MB, free: 5.934 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.529/1.529, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 44.14 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1089, allocations: 49.45 MB / 349.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01009/0.119, allocations: 8.851 MB / 358.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.1247, allocations: 2.832 MB / 361.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.1261, allocations: 43.81 kB / 361.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.1276, allocations: 0.5323 MB / 361.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1298, allocations: 0.6606 MB / 362.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.1305, allocations: 275.7 kB / 362.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1337, allocations: 2.358 MB / 365.1 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.1358, allocations: 1.758 MB / 366.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.1375, allocations: 1.071 MB / 368 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.1394, allocations: 1.37 MB / 369.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.1398, allocations: 280 kB / 369.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.1404, allocations: 367.8 kB / 370 MB, free: 248 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1881/0.3285, allocations: 0.7975 MB / 370.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.3306, allocations: 1.257 MB / 372 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004604/0.3352, allocations: 3.643 MB / 375.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3353, allocations: 0 / 375.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3353, allocations: 4.188 kB / 375.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.3354, allocations: 0 / 375.7 MB, free: 13.02 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006715/0.3422, allocations: 2.591 MB / 378.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3422, allocations: 9.625 kB / 378.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.3431, allocations: 258.2 kB / 378.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.3452, allocations: 1.348 MB / 379.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.3453, allocations: 137.2 kB / 380 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.3456, allocations: 184.9 kB / 380.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.3498, allocations: 2.415 MB / 382.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.3499, allocations: 5.844 kB / 382.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3501, allocations: 71.16 kB / 382.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.911e-05/0.3502, allocations: 84.11 kB / 382.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.3536, allocations: 2.021 MB / 384.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.3649, allocations: 7.449 MB / 392.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3665, allocations: 1.28 MB / 393.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.368, allocations: 0.907 MB / 394.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3682, allocations: 117.1 kB / 394.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3683, allocations: 44.72 kB / 394.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.995e-06/0.3683, allocations: 0 / 394.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008372/0.3767, allocations: 4.889 MB / 399.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3767, allocations: 64.09 kB / 399.5 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.3785, allocations: 1.372 MB / 400.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.3786, allocations: 50.83 kB / 400.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.3792, allocations: 0.8903 MB / 401.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.3795, allocations: 357.6 kB / 402.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.3799, allocations: 213.6 kB / 402.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.38, allocations: 357.3 kB / 402.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3811, allocations: 0.6315 MB / 403.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.3822, allocations: 0.9208 MB / 404.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.3846, allocations: 1.641 MB / 405.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3847, allocations: 11.09 kB / 405.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004301/0.389, allocations: 2.381 MB / 408.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.389, allocations: 8 kB / 408.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.389, allocations: 12.25 kB / 408.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3909, allocations: 0.7265 MB / 409.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.3918, allocations: 229.5 kB / 409.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.403, allocations: 8.742 MB / 418 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4048, allocations: 79.92 kB / 418.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.4049, allocations: 51.92 kB / 418.2 MB, free: 14.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.4063, allocations: 0.6281 MB / 418.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.4066, allocations: 146.2 kB / 418.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.4098, allocations: 1.896 MB / 420.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4099, allocations: 12 kB / 420.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4099, allocations: 3.375 kB / 420.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4099, allocations: 11.97 kB / 420.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.4167, allocations: 4.001 MB / 424.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.4168, allocations: 8.031 kB / 424.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.4176, allocations: 176.4 kB / 425 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4188, allocations: 469.5 kB / 425.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.4189, allocations: 27.98 kB / 425.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.425, allocations: 6.698 MB / 432.2 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4251, allocations: 8.016 kB / 432.2 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/0.4295, allocations: 2.773 MB / 435 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.4304, allocations: 363.2 kB / 435.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.4306, allocations: 20 kB / 435.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.4314, allocations: 67.91 kB / 435.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.4317, allocations: 83.7 kB / 435.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.4317, allocations: 31.98 kB / 435.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.4333, allocations: 0.9504 MB / 436.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4333, allocations: 0 / 436.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4348, allocations: 436 kB / 436.9 MB, free: 11.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(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.0003697/0.4351, allocations: 176.2 kB / 437.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.4393, allocations: 2.377 MB / 439.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4394, allocations: 4 kB / 439.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.4414, allocations: 1.347 MB / 440.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.4434, allocations: 382.9 kB / 441.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.4502, allocations: 4.837 MB / 446 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.4517, allocations: 1.685 MB / 447.7 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.4527, allocations: 316 kB / 448 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.453, allocations: 95.47 kB / 448.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.453, allocations: 3.562 kB / 448.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Templates: time 0.04257/0.4956, allocations: 23.97 MB / 472.1 MB, free: 8.297 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches