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_Initialize.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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_Initialize") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007819/0.000782, allocations: 94 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002191/0.0002192, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1882, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.005793/0.1941, allocations: 7.919 MB / 420 MB, free: 17.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.1974, allocations: 3.404 MB / 423.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.198, allocations: 35.88 kB / 423.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.1989, allocations: 0.5322 MB / 423.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2, allocations: 0.6606 MB / 424.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2005, allocations: 283.6 kB / 424.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.2021, allocations: 2.732 MB / 427.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.2033, allocations: 1.437 MB / 429.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.204, allocations: 0.844 MB / 429.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.2049, allocations: 1.151 MB / 431 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.2051, allocations: 124 kB / 431.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.2056, allocations: 215.8 kB / 431.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.206, allocations: 0.6151 MB / 432 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006972/0.2067, allocations: 1.078 MB / 433.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2086, allocations: 3.46 MB / 436.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2086, allocations: 0 / 436.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2086, allocations: 0 / 436.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.2086, allocations: 0 / 436.5 MB, free: 1.145 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003379/0.212, allocations: 2.209 MB / 438.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2121, allocations: 8.031 kB / 438.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.2129, allocations: 302.1 kB / 439 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.2149, allocations: 1.35 MB / 440.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.215, allocations: 136 kB / 440.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.2152, allocations: 195.8 kB / 440.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.2189, allocations: 2.402 MB / 443.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.219, allocations: 4 kB / 443.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2192, allocations: 75.98 kB / 443.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/0.2192, allocations: 87.44 kB / 443.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.2224, allocations: 2.024 MB / 445.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.2325, allocations: 7.491 MB / 452.8 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2344, allocations: 1.283 MB / 454.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.236, allocations: 0.912 MB / 455 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.2362, allocations: 126 kB / 455.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2363, allocations: 43.56 kB / 455.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.2363, allocations: 3.938 kB / 455.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.00869/0.245, allocations: 4.916 MB / 460.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.245, allocations: 68.39 kB / 460.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.2467, allocations: 1.365 MB / 461.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.2468, allocations: 45.7 kB / 461.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.2473, allocations: 0.8969 MB / 462.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.2476, allocations: 350.9 kB / 462.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.2477, allocations: 24 kB / 462.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2478, allocations: 353.9 kB / 463.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/0.2487, allocations: 0.635 MB / 463.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.2499, allocations: 0.9297 MB / 464.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.252, allocations: 1.653 MB / 466.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.252, allocations: 0 / 466.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003916/0.2559, allocations: 2.402 MB / 468.8 MB, free: 12 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.256, allocations: 8 kB / 468.8 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.256, allocations: 8.047 kB / 468.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.2578, allocations: 0.7128 MB / 469.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.2587, allocations: 239.7 kB / 469.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009097/0.2678, allocations: 8.009 MB / 477.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/0.2688, allocations: 87.84 kB / 477.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.2689, allocations: 44.12 kB / 477.9 MB, free: 6.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.2699, allocations: 0.6378 MB / 478.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.2701, allocations: 142.2 kB / 478.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.2732, allocations: 1.905 MB / 480.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2732, allocations: 8 kB / 480.6 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2732, allocations: 7.938 kB / 480.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2732, allocations: 7.969 kB / 480.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.2792, allocations: 4.014 MB / 484.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2793, allocations: 7.984 kB / 484.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.2801, allocations: 184 kB / 484.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.2813, allocations: 466.8 kB / 485.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.2814, allocations: 23.98 kB / 485.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.2869, allocations: 6.149 MB / 491.4 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.287, allocations: 4.031 kB / 491.4 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.291, allocations: 2.798 MB / 494.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.2916, allocations: 367.1 kB / 494.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.2918, allocations: 31.94 kB / 494.6 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/0.2925, allocations: 71.92 kB / 494.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.2927, allocations: 80.81 kB / 494.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.2928, allocations: 35.92 kB / 494.8 MB, free: 5.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.2941, allocations: 0.9504 MB / 495.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2941, allocations: 0 / 495.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001132/0.2952, allocations: 428 kB / 496.2 MB, free: 3.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * 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.0003243/0.2956, allocations: 185.3 kB / 496.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00306/0.2986, allocations: 2.005 MB / 498.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2987, allocations: 192 / 498.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.3006, allocations: 1.359 MB / 499.7 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.3024, allocations: 364.8 kB / 0.4883 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.3084, allocations: 4.97 MB / 0.4932 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.3097, allocations: 1.693 MB / 0.4949 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008982/0.3106, allocations: 316 kB / 0.4952 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.3109, allocations: 99.41 kB / 0.4952 GB, free: 8.574 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3109, allocations: 0 / 0.4952 GB, free: 8.574 MB / 378.7 MB Notification: Performance of Templates: time 0.2532/0.5642, allocations: 22.73 MB / 0.5175 GB, free: 84.96 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches