Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000984/0.0009837, allocations: 95.73 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008913/0.1322, allocations: 7.634 MB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1386, allocations: 2.943 MB / 368.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.1403, allocations: 39.81 kB / 368.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.1422, allocations: 0.5286 MB / 369.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.1447, allocations: 0.6621 MB / 369.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.1455, allocations: 211.7 kB / 370.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1481, allocations: 1.706 MB / 371.8 MB, free: 164 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2292/0.3774, allocations: 1.374 MB / 373.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.3794, allocations: 0.8172 MB / 374 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3821, allocations: 1.064 MB / 375 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.3826, allocations: 130.2 kB / 375.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.3835, allocations: 200.8 kB / 375.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009138/0.3844, allocations: 0.6409 MB / 376 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.3851, allocations: 0.4954 MB / 376.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.3899, allocations: 3.239 MB / 379.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3899, allocations: 1.406 kB / 379.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.39, allocations: 0 / 379.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001728/0.3901, allocations: 0 / 379.7 MB, free: 9.301 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007076/0.3972, allocations: 2.443 MB / 382.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.3973, allocations: 8.75 kB / 382.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.3991, allocations: 331.8 kB / 382.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.4027, allocations: 1.458 MB / 384 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.4029, allocations: 152.2 kB / 384.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004652/0.4034, allocations: 206.8 kB / 384.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/0.4091, allocations: 2.709 MB / 387 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.4092, allocations: 3.656 kB / 387 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.4094, allocations: 87.14 kB / 387.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.4096, allocations: 94.97 kB / 387.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.4143, allocations: 2.328 MB / 389.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.4284, allocations: 8.41 MB / 398 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.4305, allocations: 1.787 MB / 399.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.4308, allocations: 125.1 kB / 399.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4309, allocations: 50.58 kB / 399.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.697e-06/0.4309, allocations: 0 / 399.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01375/0.4446, allocations: 6.312 MB / 406.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4447, allocations: 68.41 kB / 406.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.4472, allocations: 1.457 MB / 407.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.4473, allocations: 45.7 kB / 407.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007083/0.448, allocations: 0.9925 MB / 408.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.4484, allocations: 420 kB / 409.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.4485, allocations: 28 kB / 409.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4487, allocations: 357.2 kB / 409.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4499, allocations: 0.7495 MB / 410.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.4512, allocations: 1.067 MB / 411.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.4524, allocations: 0.8886 MB / 412.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4524, allocations: 4 kB / 412.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004196/0.4566, allocations: 2.368 MB / 414.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.4567, allocations: 12 kB / 414.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4567, allocations: 8 kB / 414.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009645/0.4577, allocations: 416.2 kB / 415.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4589, allocations: 323.5 kB / 415.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/0.4637, allocations: 4.748 MB / 420.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.465, allocations: 87.91 kB / 420.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4652, allocations: 60.05 kB / 420.3 MB, free: 11.41 MB / 334.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[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 initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001349/0.4665, allocations: 0.7042 MB / 421 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4668, allocations: 170 kB / 421.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.4703, allocations: 2.164 MB / 423.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4704, allocations: 12 kB / 423.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4704, allocations: 4 kB / 423.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4704, allocations: 7.969 kB / 423.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007776/0.4782, allocations: 4.566 MB / 427.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4782, allocations: 4 kB / 427.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/0.4792, allocations: 224 kB / 428.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.4804, allocations: 470.8 kB / 428.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-05/0.4805, allocations: 31.98 kB / 428.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.4866, allocations: 6.283 MB / 434.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4867, allocations: 4 kB / 434.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005078/0.4918, allocations: 3.354 MB / 438.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.4928, allocations: 395 kB / 438.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.4932, allocations: 31.98 kB / 438.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009166/0.4942, allocations: 83.88 kB / 438.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.4944, allocations: 104.8 kB / 438.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.4945, allocations: 35.98 kB / 438.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.4962, allocations: 1.001 MB / 439.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4962, allocations: 0 / 439.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001687/0.4979, allocations: 460 kB / 440.4 MB, free: 6.695 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003354/0.4983, allocations: 147.6 kB / 440.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.5018, allocations: 2.292 MB / 442.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5018, allocations: 8.188 kB / 442.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.5041, allocations: 1.503 MB / 444.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.5063, allocations: 414.3 kB / 444.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008992/0.5153, allocations: 5.322 MB / 450 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.5175, allocations: 1.869 MB / 451.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001604/0.5191, allocations: 401.5 kB / 452.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.5196, allocations: 111.4 kB / 452.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5196, allocations: 0 / 452.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Templates: time 0.0399/0.5595, allocations: 23.07 MB / 475.5 MB, free: 3.617 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches