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.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 183.1 kB / 16.71 MB, free: 4.969 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.35/1.35, allocations: 225.7 MB / 243.2 MB, free: 8.508 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.0007326/0.0007327, allocations: 89.73 kB / 294.3 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002653, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008727/0.239, allocations: 10.48 MB / 415.1 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.2449, allocations: 3.879 MB / 418.9 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.2465, allocations: 71.62 kB / 419 MB, free: 16.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.2481, allocations: 0.7536 MB / 419.8 MB, free: 16.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.2504, allocations: 0.9949 MB / 420.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.2512, allocations: 431.5 kB / 421.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.2543, allocations: 4.893 MB / 426.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.2568, allocations: 2.718 MB / 428.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.2587, allocations: 1.439 MB / 430.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.2605, allocations: 1.964 MB / 432.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.2608, allocations: 208 kB / 432.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.2615, allocations: 311.8 kB / 432.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007349/0.2623, allocations: 1.039 MB / 433.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.2637, allocations: 1.844 MB / 435.6 MB, free: 88 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005142/0.2688, allocations: 6.116 MB / 441.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2688, allocations: 3.938 kB / 441.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2689, allocations: 4 kB / 441.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000157/0.269, allocations: 0 / 441.7 MB, free: 9.941 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007306/0.2763, allocations: 3.648 MB / 445.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2764, allocations: 8.031 kB / 445.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.2777, allocations: 440 kB / 445.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/0.2818, allocations: 2.332 MB / 448.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.282, allocations: 234.1 kB / 448.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.2825, allocations: 308 kB / 448.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/0.29, allocations: 4.357 MB / 453 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/0.2901, allocations: 11.91 kB / 453 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.2904, allocations: 124 kB / 453.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.2905, allocations: 141.9 kB / 453.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/0.2969, allocations: 3.767 MB / 457.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.3156, allocations: 13.59 MB / 470.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.3189, allocations: 2.895 MB / 473.5 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.3215, allocations: 1.696 MB / 475.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.3218, allocations: 134.4 kB / 475.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.3218, allocations: 55.88 kB / 475.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=164): time 2.876e-06/0.3218, allocations: 0 / 475.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.01627/0.3381, allocations: 9.065 MB / 484.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3382, allocations: 73.41 kB / 484.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.3413, allocations: 2.338 MB / 486.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.3415, allocations: 57.7 kB / 487 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.3424, allocations: 1.466 MB / 488.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.3429, allocations: 0.6006 MB / 489 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.343, allocations: 40 kB / 489.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3432, allocations: 389.8 kB / 489.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.3448, allocations: 1.124 MB / 490.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.3466, allocations: 1.575 MB / 492.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.3502, allocations: 2.784 MB / 494.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3502, allocations: 4 kB / 494.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005711/0.356, allocations: 3.588 MB / 498.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.356, allocations: 11.94 kB / 498.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.3561, allocations: 24.38 kB / 498.6 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.358, allocations: 0.8019 MB / 499.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.3597, allocations: 463.2 kB / 499.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009287/0.369, allocations: 10.28 MB / 0.4981 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.3711, allocations: 127.9 kB / 0.4983 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.3713, allocations: 79.98 kB / 0.4983 GB, free: 3.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.3732, allocations: 1.088 MB / 0.4994 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.3738, allocations: 245 kB / 0.4996 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1909/0.5647, allocations: 3.312 MB / 0.5029 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.5648, allocations: 18.78 kB / 0.5029 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.5648, allocations: 7.516 kB / 0.5029 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.5648, allocations: 8.812 kB / 0.5029 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5756, allocations: 6.889 MB / 0.5096 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5756, allocations: 6.094 kB / 0.5096 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.577, allocations: 301.1 kB / 0.5099 GB, free: 90.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.5791, allocations: 0.9259 MB / 0.5108 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5793, allocations: 38.36 kB / 0.5109 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009624/0.5889, allocations: 13.48 MB / 0.524 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5889, allocations: 7.781 kB / 0.524 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/0.5952, allocations: 4.865 MB / 0.5288 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.5966, allocations: 0.565 MB / 0.5293 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.5969, allocations: 39.98 kB / 0.5294 GB, free: 74.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.5981, allocations: 132.6 kB / 0.5295 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/0.5985, allocations: 161.7 kB / 0.5297 GB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/0.5986, allocations: 47.98 kB / 0.5297 GB, free: 73.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.6008, allocations: 1.613 MB / 0.5313 GB, free: 72.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6008, allocations: 0 / 0.5313 GB, free: 72.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002168/0.603, allocations: 0.7038 MB / 0.532 GB, free: 71.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0003876/0.6034, allocations: 211.1 kB / 0.5322 GB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004395/0.6078, allocations: 3.592 MB / 0.5357 GB, free: 67.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6078, allocations: 4.062 kB / 0.5357 GB, free: 67.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.6107, allocations: 2.513 MB / 0.5381 GB, free: 65.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/0.6144, allocations: 0.6688 MB / 0.5388 GB, free: 64.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.6237, allocations: 8.316 MB / 0.5469 GB, free: 56.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.6254, allocations: 2.524 MB / 0.5494 GB, free: 53.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001868/0.6273, allocations: 0.5788 MB / 0.5499 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.6277, allocations: 159.4 kB / 0.5501 GB, free: 52.73 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6277, allocations: 0 / 0.5501 GB, free: 52.73 MB / 378.7 MB Notification: Performance of Templates: time 0.05804/0.6858, allocations: 39.93 MB / 0.5891 GB, free: 13.25 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches