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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 204.3 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.335/1.335, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008309/0.0008311, allocations: 98.23 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002058/0.0002059, allocations: 8 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.184, allocations: 51.4 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.006366/0.1904, allocations: 8.589 MB / 420.6 MB, free: 17.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.1952, allocations: 4.642 MB / 425.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.1959, allocations: 43.81 kB / 425.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1971, allocations: 0.5905 MB / 425.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1985, allocations: 0.7773 MB / 426.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.1993, allocations: 415.5 kB / 427.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.2011, allocations: 3.04 MB / 430.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.2025, allocations: 1.529 MB / 431.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/0.2034, allocations: 0.9412 MB / 432.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.2046, allocations: 1.362 MB / 434 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2048, allocations: 132 kB / 434.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.2055, allocations: 419.5 kB / 434.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.2061, allocations: 0.7747 MB / 435.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.2069, allocations: 1.295 MB / 436.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.21, allocations: 4.04 MB / 440.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.21, allocations: 0 / 440.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2101, allocations: 0 / 440.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.284e-05/0.2101, allocations: 0 / 440.6 MB, free: 12.91 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.004646/0.2148, allocations: 2.722 MB / 443.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2148, allocations: 8.031 kB / 443.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.2158, allocations: 365.2 kB / 443.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.2182, allocations: 1.666 MB / 445.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2184, allocations: 152 kB / 445.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.2187, allocations: 203.9 kB / 445.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.2232, allocations: 2.698 MB / 448.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.2232, allocations: 4 kB / 448.4 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.2234, allocations: 80 kB / 448.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.2236, allocations: 99.92 kB / 448.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/0.2275, allocations: 2.287 MB / 450.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.2402, allocations: 8.279 MB / 459.2 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.243, allocations: 1.629 MB / 460.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.2449, allocations: 1.108 MB / 461.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.2452, allocations: 130 kB / 462 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2452, allocations: 47.56 kB / 462.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.326e-06/0.2452, allocations: 4 kB / 462.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01269/0.2579, allocations: 6.507 MB / 468.6 MB, free: 308 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.258, allocations: 68.72 kB / 468.7 MB, free: 228 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.2609, allocations: 2.153 MB / 470.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.2611, allocations: 49.7 kB / 470.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.2619, allocations: 1.104 MB / 472 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.2622, allocations: 457.3 kB / 472.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.2623, allocations: 27.98 kB / 472.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2625, allocations: 365.9 kB / 472.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.2639, allocations: 0.769 MB / 473.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.2655, allocations: 1.017 MB / 474.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.2685, allocations: 1.869 MB / 476.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.2685, allocations: 4 kB / 476.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0051/0.2736, allocations: 2.773 MB / 479.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2737, allocations: 11.98 kB / 479.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2737, allocations: 8 kB / 479.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.2758, allocations: 0.7852 MB / 480 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.277, allocations: 271.6 kB / 480.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.2882, allocations: 8.747 MB / 489 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.2896, allocations: 99.89 kB / 489.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.2897, allocations: 55.98 kB / 489.2 MB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.291, allocations: 0.7394 MB / 489.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.2914, allocations: 197.6 kB / 490.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.2958, allocations: 2.52 MB / 492.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.2959, allocations: 16 kB / 492.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2959, allocations: 4 kB / 492.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2959, allocations: 11.97 kB / 492.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/0.3042, allocations: 4.956 MB / 497.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.3043, allocations: 4.188 kB / 497.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.3053, allocations: 223.7 kB / 497.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.3071, allocations: 0.6628 MB / 498.5 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/0.3072, allocations: 31.98 kB / 498.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008463/0.3156, allocations: 7.926 MB / 0.4946 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3157, allocations: 3.938 kB / 0.4946 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.3216, allocations: 3.558 MB / 0.4981 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.3225, allocations: 454.3 kB / 0.4985 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.3228, allocations: 31.98 kB / 0.4985 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.3237, allocations: 91.91 kB / 0.4986 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.324, allocations: 96.84 kB / 0.4987 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.3241, allocations: 47.92 kB / 0.4988 GB, free: 4.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002069/0.3262, allocations: 1.508 MB / 0.5002 GB, free: 3.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3262, allocations: 3.938 kB / 0.5002 GB, free: 3.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001614/0.3278, allocations: 0.5312 MB / 0.5008 GB, free: 2.895 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.3289, allocations: 0.5043 MB / 0.5013 GB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004087/0.333, allocations: 2.399 MB / 0.5036 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.333, allocations: 1.25 kB / 0.5036 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1569/0.4899, allocations: 1.596 MB / 0.5052 GB, free: 90.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.4926, allocations: 433.4 kB / 0.5056 GB, free: 90.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.5004, allocations: 6.27 MB / 0.5117 GB, free: 88.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.5021, allocations: 1.952 MB / 0.5136 GB, free: 87.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.5034, allocations: 385.8 kB / 0.514 GB, free: 87.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.5038, allocations: 128.9 kB / 0.5141 GB, free: 87.06 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5038, allocations: 0 / 0.5141 GB, free: 87.06 MB / 378.7 MB Notification: Performance of Templates: time 0.04164/0.5454, allocations: 28.51 MB / 0.5419 GB, free: 62.57 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches