Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001373, allocations: 177.4 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009353, allocations: 86.61 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2637, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009653/0.2734, allocations: 9 MB / 385.6 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007082/0.2805, allocations: 3.514 MB / 389.1 MB, free: 35.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2828, allocations: 46.09 kB / 389.2 MB, free: 35.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.2849, allocations: 0.6067 MB / 389.8 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.2885, allocations: 0.7586 MB / 390.5 MB, free: 34.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2899, allocations: 363.6 kB / 390.9 MB, free: 34.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.2937, allocations: 3.387 MB / 394.3 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.2959, allocations: 2.045 MB / 396.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2978, allocations: 1.027 MB / 397.3 MB, free: 27.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.2998, allocations: 1.431 MB / 398.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.3002, allocations: 152 kB / 398.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.3011, allocations: 263.8 kB / 399.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.3017, allocations: 0.763 MB / 399.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.3032, allocations: 1.362 MB / 401.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.3066, allocations: 4.364 MB / 405.7 MB, free: 19.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3066, allocations: 0 / 405.7 MB, free: 19.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3067, allocations: 8 kB / 405.7 MB, free: 19.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3068, allocations: 0 / 405.7 MB, free: 19.18 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005121/0.3119, allocations: 2.764 MB / 408.4 MB, free: 16.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.312, allocations: 8.031 kB / 408.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.313, allocations: 337.2 kB / 408.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.3155, allocations: 1.635 MB / 410.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3157, allocations: 185 kB / 410.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.316, allocations: 235.8 kB / 410.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/0.3209, allocations: 3.129 MB / 414 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.321, allocations: 7.984 kB / 414 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.3212, allocations: 104 kB / 414.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.3213, allocations: 104.6 kB / 414.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.3256, allocations: 2.7 MB / 416.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.3413, allocations: 9.794 MB / 426.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.3446, allocations: 2.177 MB / 428.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.3467, allocations: 1.136 MB / 430 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.3472, allocations: 203.2 kB / 430.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.3472, allocations: 47.56 kB / 430.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 6.502e-06/0.3472, allocations: 0 / 430.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.0157/0.3629, allocations: 6.813 MB / 437 MB, free: 2.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3631, allocations: 64.72 kB / 437.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.3668, allocations: 1.735 MB / 438.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004055/0.3672, allocations: 45.7 kB / 438.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3684, allocations: 1.155 MB / 440 MB, free: 15.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.369, allocations: 453.4 kB / 440.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.3691, allocations: 32 kB / 440.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3693, allocations: 369.8 kB / 440.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.3707, allocations: 0.8041 MB / 441.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.3724, allocations: 1.206 MB / 442.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.3755, allocations: 2.118 MB / 445 MB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3755, allocations: 4 kB / 445 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004897/0.3804, allocations: 2.678 MB / 447.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.3805, allocations: 12 kB / 447.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.3805, allocations: 12.34 kB / 447.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009887/0.3815, allocations: 419.1 kB / 448.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3829, allocations: 375.4 kB / 448.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.3896, allocations: 6.486 MB / 455 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.3912, allocations: 107.9 kB / 455.1 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.3914, allocations: 76.03 kB / 455.1 MB, free: 15.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.3929, allocations: 0.79 MB / 455.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.3933, allocations: 189.7 kB / 456.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.3974, allocations: 2.387 MB / 458.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3974, allocations: 12 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.3974, allocations: 4 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3974, allocations: 3.984 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009593/0.407, allocations: 5.145 MB / 463.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4071, allocations: 8 kB / 463.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4082, allocations: 248.1 kB / 463.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.4095, allocations: 443 kB / 464.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.4096, allocations: 39.92 kB / 464.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/0.418, allocations: 7.936 MB / 472.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4181, allocations: 7.938 kB / 472.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/0.4242, allocations: 3.55 MB / 475.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.4257, allocations: 438.6 kB / 476.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/0.4261, allocations: 35.98 kB / 476.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.4271, allocations: 95.84 kB / 476.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.4274, allocations: 116.8 kB / 476.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.4275, allocations: 40 kB / 476.6 MB, free: 9.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002082/0.4296, allocations: 1.19 MB / 477.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4296, allocations: 0 / 477.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002272/0.4319, allocations: 0.5117 MB / 478.3 MB, free: 7.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0005045/0.4324, allocations: 202.9 kB / 478.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.4367, allocations: 2.46 MB / 480.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4367, allocations: 0 / 480.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.4394, allocations: 1.635 MB / 482.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/0.4428, allocations: 438 kB / 483 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.4527, allocations: 6.23 MB / 489.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.4547, allocations: 1.997 MB / 491.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00159/0.4563, allocations: 443.5 kB / 491.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.4567, allocations: 123.4 kB / 491.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4567, allocations: 0 / 491.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of Templates: time 0.2314/0.6881, allocations: 26.18 MB / 0.5058 GB, free: 101.1 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches