Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001269/0.001269, allocations: 200 kB / 18 MB, free: 5.055 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009643/0.0009643, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3127, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01227/0.325, allocations: 9.379 MB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007307/0.3324, allocations: 2.973 MB / 413.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3342, allocations: 47.81 kB / 413.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.3364, allocations: 0.6755 MB / 413.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.3402, allocations: 0.7923 MB / 414.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3413, allocations: 355.5 kB / 414.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.3461, allocations: 2.656 MB / 417.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.3493, allocations: 2.151 MB / 419.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.3523, allocations: 1.207 MB / 421 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.3561, allocations: 1.487 MB / 422.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009273/0.3571, allocations: 308 kB / 422.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3584, allocations: 395.8 kB / 423.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009585/0.3594, allocations: 0.8882 MB / 424 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.3613, allocations: 1.404 MB / 425.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.3663, allocations: 4.077 MB / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3663, allocations: 0 / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3663, allocations: 4 kB / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.244e-05/0.3664, allocations: 4 kB / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005773/0.3721, allocations: 2.849 MB / 432.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3722, allocations: 16.02 kB / 432.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.373, allocations: 285.7 kB / 432.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.3754, allocations: 1.531 MB / 434.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.3755, allocations: 156.4 kB / 434.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.3759, allocations: 204 kB / 434.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.3804, allocations: 2.732 MB / 437.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.3805, allocations: 7.938 kB / 437.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.3807, allocations: 80 kB / 437.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3808, allocations: 99.91 kB / 437.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.3846, allocations: 2.326 MB / 439.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3968, allocations: 8.321 MB / 448.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.3989, allocations: 1.773 MB / 449.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.4009, allocations: 1.073 MB / 450.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.4011, allocations: 126.1 kB / 451.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4012, allocations: 47.5 kB / 451.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.4012, allocations: 0 / 451.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.0128/0.414, allocations: 6.195 MB / 457.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.414, allocations: 64.41 kB / 457.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.4163, allocations: 1.52 MB / 458.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.4164, allocations: 45.7 kB / 458.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/0.4171, allocations: 0.9795 MB / 459.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.4174, allocations: 433.9 kB / 460.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.4178, allocations: 247.5 kB / 460.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.418, allocations: 357.9 kB / 460.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4191, allocations: 0.7339 MB / 461.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4204, allocations: 1.052 MB / 462.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.4229, allocations: 1.883 MB / 464.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.423, allocations: 0 / 464.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004142/0.4271, allocations: 2.361 MB / 467 MB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4272, allocations: 8 kB / 467 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4272, allocations: 8 kB / 467 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4282, allocations: 411.3 kB / 467.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4295, allocations: 327.5 kB / 467.7 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.4351, allocations: 5.065 MB / 472.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4367, allocations: 87.84 kB / 472.9 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4369, allocations: 56 kB / 472.9 MB, free: 15.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(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.001433/0.4383, allocations: 0.7081 MB / 473.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.4387, allocations: 166 kB / 473.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.4425, allocations: 2.141 MB / 475.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4425, allocations: 8 kB / 475.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4425, allocations: 4 kB / 475.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4425, allocations: 3.984 kB / 475.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008765/0.4513, allocations: 4.562 MB / 480.5 MB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.4513, allocations: 8.031 kB / 480.5 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.4528, allocations: 227.6 kB / 480.7 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.4546, allocations: 469.5 kB / 481.2 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.4548, allocations: 31.98 kB / 481.2 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009102/0.4639, allocations: 6.68 MB / 487.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.464, allocations: 0 / 487.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007604/0.4716, allocations: 3.184 MB / 491.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.4729, allocations: 395 kB / 491.5 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.4733, allocations: 31.98 kB / 491.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.4745, allocations: 71.92 kB / 491.6 MB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.4749, allocations: 112.7 kB / 491.7 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.4751, allocations: 35.98 kB / 491.7 MB, free: 11.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002275/0.4773, allocations: 1.048 MB / 492.8 MB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4774, allocations: 3.938 kB / 492.8 MB, free: 10.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00231/0.4797, allocations: 468.1 kB / 493.2 MB, free: 10.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0006392/0.4803, allocations: 183 kB / 493.4 MB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00407/0.4844, allocations: 2.277 MB / 495.7 MB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4844, allocations: 0 / 495.7 MB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.4868, allocations: 1.485 MB / 497.2 MB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.489, allocations: 439.6 kB / 497.6 MB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.496, allocations: 4.483 MB / 0.4903 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.4975, allocations: 1.811 MB / 0.4921 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001369/0.4989, allocations: 397.5 kB / 0.4925 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.4993, allocations: 111.4 kB / 0.4926 GB, free: 14.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.446e-06/0.4993, allocations: 0 / 0.4926 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Templates: time 0.04421/0.5435, allocations: 25.96 MB / 0.5179 GB, free: 5.105 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches