Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 200.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007603/0.0007603, allocations: 100.7 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002483, allocations: 4 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2352, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007199/0.2424, allocations: 8.346 MB / 420.4 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.2472, allocations: 3.499 MB / 423.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2484, allocations: 43.81 kB / 423.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2497, allocations: 0.5672 MB / 424.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.2513, allocations: 0.6994 MB / 425.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.2519, allocations: 315.7 kB / 425.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.2542, allocations: 3.079 MB / 428.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.256, allocations: 1.795 MB / 430.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.2574, allocations: 0.9334 MB / 431.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2586, allocations: 1.276 MB / 432.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.2588, allocations: 132 kB / 432.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.2594, allocations: 243.8 kB / 433 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004849/0.2599, allocations: 0.6696 MB / 433.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.2608, allocations: 1.195 MB / 434.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.2634, allocations: 3.838 MB / 438.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2634, allocations: 0 / 438.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2635, allocations: 0 / 438.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.012e-05/0.2635, allocations: 0 / 438.7 MB, free: 14.98 MB / 314.7 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.004587/0.2681, allocations: 2.432 MB / 441.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2682, allocations: 8.031 kB / 441.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009346/0.2691, allocations: 325.7 kB / 441.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.2715, allocations: 1.496 MB / 442.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.2716, allocations: 152.4 kB / 443.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.272, allocations: 211.8 kB / 443.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/0.2766, allocations: 2.728 MB / 446 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.2766, allocations: 3.906 kB / 446 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.2768, allocations: 87.98 kB / 446.1 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.2769, allocations: 91.94 kB / 446.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/0.281, allocations: 2.33 MB / 448.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.2936, allocations: 8.462 MB / 457 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.2958, allocations: 1.787 MB / 458.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.2976, allocations: 1.073 MB / 459.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2978, allocations: 114.1 kB / 459.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.2979, allocations: 51.56 kB / 460 MB, free: 9.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.035e-06/0.2979, allocations: 0 / 460 MB, free: 9.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.01251/0.3104, allocations: 6.285 MB / 466.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3105, allocations: 64.41 kB / 466.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.3126, allocations: 1.508 MB / 467.9 MB, free: 1.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.3127, allocations: 45.7 kB / 467.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/0.3134, allocations: 0.9835 MB / 468.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.3137, allocations: 418 kB / 469.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3138, allocations: 24 kB / 469.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.314, allocations: 361.9 kB / 469.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3151, allocations: 0.73 MB / 470.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3164, allocations: 1.067 MB / 471.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3189, allocations: 1.883 MB / 473.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3189, allocations: 3.938 kB / 473.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003884/0.3228, allocations: 2.357 MB / 475.7 MB, free: 8.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3228, allocations: 8 kB / 475.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.3229, allocations: 12 kB / 475.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.3239, allocations: 407.5 kB / 476.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3251, allocations: 335.5 kB / 476.5 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/0.3301, allocations: 4.645 MB / 481.1 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.3312, allocations: 99.88 kB / 481.2 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3313, allocations: 52 kB / 481.2 MB, free: 3.055 MB / 346.7 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 (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.001221/0.3326, allocations: 0.7041 MB / 482 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.3329, allocations: 166 kB / 482.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.3365, allocations: 2.145 MB / 484.3 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.3365, allocations: 12.05 kB / 484.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3365, allocations: 7.875 kB / 484.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3365, allocations: 11.92 kB / 484.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007637/0.3442, allocations: 4.597 MB / 488.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3442, allocations: 0 / 488.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.3452, allocations: 223.7 kB / 489.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.3465, allocations: 466.9 kB / 489.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.3466, allocations: 31.98 kB / 489.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006176/0.3528, allocations: 6.156 MB / 495.7 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.3528, allocations: 7.938 kB / 495.8 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.3579, allocations: 3.19 MB / 498.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/0.3588, allocations: 406.9 kB / 499.3 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3591, allocations: 28 kB / 499.4 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.3599, allocations: 83.91 kB / 499.5 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.3602, allocations: 104.8 kB / 499.6 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.3603, allocations: 35.94 kB / 499.6 MB, free: 76 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001625/0.3619, allocations: 1.04 MB / 0.4889 GB, free: 15.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3619, allocations: 0 / 0.4889 GB, free: 15.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00142/0.3633, allocations: 456 kB / 0.4893 GB, free: 14.59 MB / 378.7 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.0003926/0.3637, allocations: 214.8 kB / 0.4895 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.3674, allocations: 2.263 MB / 0.4917 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3674, allocations: 4 kB / 0.4917 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.3698, allocations: 1.496 MB / 0.4932 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.3724, allocations: 421.1 kB / 0.4936 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.3805, allocations: 5.54 MB / 0.499 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.3822, allocations: 1.819 MB / 0.5008 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.3835, allocations: 405.4 kB / 0.5012 GB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.3839, allocations: 111.4 kB / 0.5013 GB, free: 2.102 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3839, allocations: 0 / 0.5013 GB, free: 2.102 MB / 378.7 MB Notification: Performance of Templates: time 0.21/0.5939, allocations: 24.18 MB / 0.5249 GB, free: 77.27 MB / 378.7 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