Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 179.6 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 89.97 kB / 294.3 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2466, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007318/0.254, allocations: 8.326 MB / 412.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.2588, allocations: 3.138 MB / 416 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.2598, allocations: 39.81 kB / 416.1 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2611, allocations: 0.5555 MB / 416.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.2627, allocations: 0.7034 MB / 417.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2632, allocations: 307.6 kB / 417.6 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.2656, allocations: 3.09 MB / 420.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.2682, allocations: 1.806 MB / 422.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.27, allocations: 0.9218 MB / 423.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.272, allocations: 1.276 MB / 424.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.2723, allocations: 132 kB / 424.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.2731, allocations: 227.8 kB / 425.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007366/0.2738, allocations: 0.6812 MB / 425.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.2753, allocations: 1.202 MB / 427 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003681/0.279, allocations: 3.815 MB / 430.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.279, allocations: 0 / 430.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.279, allocations: 0 / 430.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.627e-05/0.2791, allocations: 0 / 430.8 MB, free: 4.895 MB / 298.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.00603/0.2852, allocations: 2.429 MB / 433.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.2852, allocations: 8.031 kB / 433.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.2862, allocations: 289.7 kB / 433.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.2894, allocations: 1.492 MB / 435 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2895, allocations: 160.4 kB / 435.2 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.2899, allocations: 204 kB / 435.3 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/0.2971, allocations: 2.724 MB / 438.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.762e-05/0.2972, allocations: 7.906 kB / 438.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.2975, allocations: 83.98 kB / 438.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.2977, allocations: 95.92 kB / 438.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/0.3038, allocations: 2.334 MB / 440.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.3227, allocations: 8.465 MB / 449.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.3259, allocations: 1.786 MB / 450.8 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.3286, allocations: 1.062 MB / 451.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.329, allocations: 118.1 kB / 452 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.3291, allocations: 47.56 kB / 452.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.528e-06/0.3291, allocations: 0 / 452.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.01878/0.3479, allocations: 6.274 MB / 458.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.348, allocations: 68.39 kB / 458.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.3513, allocations: 1.501 MB / 459.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.3515, allocations: 45.7 kB / 460 MB, free: 6.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.3525, allocations: 0.9911 MB / 460.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.353, allocations: 414 kB / 461.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3531, allocations: 28 kB / 461.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3533, allocations: 365.9 kB / 461.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.3551, allocations: 0.73 MB / 462.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.3572, allocations: 1.063 MB / 463.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.361, allocations: 1.883 MB / 465.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.361, allocations: 4 kB / 465.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00578/0.3668, allocations: 2.357 MB / 467.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.3669, allocations: 8 kB / 467.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.3669, allocations: 8 kB / 467.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.3683, allocations: 415.4 kB / 468.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.3701, allocations: 327.5 kB / 468.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006559/0.3766, allocations: 4.641 MB / 473.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.3784, allocations: 95.91 kB / 473.2 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.3786, allocations: 51.94 kB / 473.3 MB, free: 9.039 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.001715/0.3803, allocations: 0.7082 MB / 474 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.3808, allocations: 166 kB / 474.2 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/0.3861, allocations: 2.149 MB / 476.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3861, allocations: 8 kB / 476.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3862, allocations: 4 kB / 476.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.3862, allocations: 11.91 kB / 476.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.3971, allocations: 4.6 MB / 480.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3971, allocations: 4 kB / 480.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.3986, allocations: 231.9 kB / 481.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.4003, allocations: 462.9 kB / 481.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.4005, allocations: 31.98 kB / 481.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008647/0.4091, allocations: 6.14 MB / 487.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.4092, allocations: 4 kB / 487.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007515/0.4167, allocations: 3.198 MB / 491 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.4181, allocations: 403 kB / 491.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.4184, allocations: 28 kB / 491.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4196, allocations: 83.91 kB / 491.5 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.42, allocations: 104.8 kB / 491.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.4202, allocations: 39.92 kB / 491.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0022/0.4224, allocations: 1.032 MB / 492.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4224, allocations: 0 / 492.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002142/0.4245, allocations: 468.1 kB / 493.1 MB, free: 4.57 MB / 362.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.0005109/0.4251, allocations: 196.3 kB / 493.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004921/0.43, allocations: 2.277 MB / 495.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.43, allocations: 4 kB / 495.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.4331, allocations: 1.497 MB / 497.1 MB, free: 476 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.4365, allocations: 426.7 kB / 497.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4469, allocations: 5.542 MB / 0.4913 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.4492, allocations: 1.819 MB / 0.493 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00193/0.4511, allocations: 393.5 kB / 0.4934 GB, free: 8.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.4516, allocations: 115.4 kB / 0.4935 GB, free: 8.086 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.4517, allocations: 0 / 0.4935 GB, free: 8.086 MB / 378.7 MB Notification: Performance of Templates: time 0.2848/0.7365, allocations: 24.13 MB / 0.5171 GB, free: 87.61 MB / 378.7 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","../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