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.0008981/0.0008982, allocations: 93.84 kB / 16.65 MB, free: 6.535 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.001047/0.001048, allocations: 173.7 kB / 17.56 MB, free: 6.184 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.42/1.42, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 11.94 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 50.41 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009904/0.138, allocations: 8.815 MB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.1444, allocations: 2.914 MB / 363.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1461, allocations: 43.81 kB / 363.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1483, allocations: 0.5516 MB / 364.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.1513, allocations: 0.7072 MB / 364.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1524, allocations: 311.7 kB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.1566, allocations: 3.071 MB / 368.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.1596, allocations: 1.802 MB / 370 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.1615, allocations: 0.9023 MB / 370.9 MB, free: 228 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2051/0.3666, allocations: 1.279 MB / 372.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007412/0.3674, allocations: 133.7 kB / 372.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.3686, allocations: 231.2 kB / 372.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009621/0.3696, allocations: 0.6802 MB / 373.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.3714, allocations: 1.203 MB / 374.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.377, allocations: 3.815 MB / 378.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3771, allocations: 2.031 kB / 378.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3771, allocations: 0 / 378.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001569/0.3772, allocations: 0.9688 kB / 378.3 MB, free: 10.87 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.008186/0.3854, allocations: 2.432 MB / 380.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/0.3855, allocations: 8.531 kB / 380.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.3876, allocations: 294 kB / 381 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/0.3912, allocations: 1.485 MB / 382.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3914, allocations: 152.4 kB / 382.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.3919, allocations: 206.4 kB / 382.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005969/0.3979, allocations: 2.748 MB / 385.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/0.398, allocations: 2.719 kB / 385.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.3982, allocations: 88.31 kB / 385.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.3983, allocations: 91.72 kB / 385.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.403, allocations: 2.349 MB / 388.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.416, allocations: 8.462 MB / 396.6 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.418, allocations: 1.79 MB / 398.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.4197, allocations: 1.06 MB / 399.4 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.4199, allocations: 125 kB / 399.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.42, allocations: 43.31 kB / 399.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.786e-06/0.42, allocations: 4 kB / 399.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01438/0.4344, allocations: 6.29 MB / 405.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.4345, allocations: 64.41 kB / 406 MB, free: 11.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.4375, allocations: 1.516 MB / 407.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.4376, allocations: 45.7 kB / 407.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000746/0.4384, allocations: 0.9811 MB / 408.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.4387, allocations: 424 kB / 408.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.4389, allocations: 113.7 kB / 409 MB, free: 7.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4391, allocations: 361.9 kB / 409.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4404, allocations: 0.7417 MB / 410.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.4418, allocations: 1.072 MB / 411.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.4446, allocations: 1.898 MB / 413.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4446, allocations: 4 kB / 413.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004552/0.4492, allocations: 2.365 MB / 415.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.4492, allocations: 12 kB / 415.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4493, allocations: 8 kB / 415.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4503, allocations: 401.8 kB / 415.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4517, allocations: 343 kB / 416.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005604/0.4573, allocations: 4.652 MB / 420.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.4593, allocations: 91.97 kB / 420.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.4595, allocations: 52 kB / 421 MB, free: 11.6 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[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.001998/0.4615, allocations: 0.7145 MB / 421.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.462, allocations: 170 kB / 421.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.4661, allocations: 2.148 MB / 424 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4662, allocations: 19.09 kB / 424 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4662, allocations: 4 kB / 424 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.4662, allocations: 7.969 kB / 424.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008746/0.475, allocations: 4.595 MB / 428.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.475, allocations: 0 / 428.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.4761, allocations: 232.2 kB / 428.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.4774, allocations: 474.6 kB / 429.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.4776, allocations: 31.98 kB / 429.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006255/0.4838, allocations: 6.134 MB / 435.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4838, allocations: 4.031 kB / 435.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.4895, allocations: 3.208 MB / 438.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.4908, allocations: 410.9 kB / 439.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.4911, allocations: 28 kB / 439.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/0.4921, allocations: 79.91 kB / 439.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.4924, allocations: 107.5 kB / 439.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.4925, allocations: 32 kB / 439.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.4943, allocations: 1.05 MB / 440.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4943, allocations: 0 / 440.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001783/0.4961, allocations: 464.1 kB / 440.9 MB, free: 7.254 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 (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.0004102/0.4965, allocations: 191.4 kB / 441.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003848/0.5004, allocations: 2.28 MB / 443.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5004, allocations: 0 / 443.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.5029, allocations: 1.509 MB / 444.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.5061, allocations: 418.7 kB / 445.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.5154, allocations: 5.553 MB / 450.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.5172, allocations: 1.819 MB / 452.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00154/0.5187, allocations: 397.5 kB / 453 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.5191, allocations: 107.4 kB / 453.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5191, allocations: 0 / 453.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.04773/0.5668, allocations: 24.13 MB / 477.2 MB, free: 3.027 MB / 382.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