Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002931/0.002931, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.184e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01745/0.01748, allocations: 8.82 MB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.02577, allocations: 2.804 MB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.02755, allocations: 59.62 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.03003, allocations: 0.5899 MB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.03356, allocations: 0.7994 MB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.03483, allocations: 319.5 kB / 280.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004672/0.03951, allocations: 2.442 MB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.04173, allocations: 0.9852 MB / 284.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.04537, allocations: 1.606 MB / 285.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.04862, allocations: 1.263 MB / 287 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007226/0.04934, allocations: 280 kB / 287.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.05045, allocations: 371.8 kB / 287.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.05179, allocations: 0.8453 MB / 288.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.05367, allocations: 0.8692 MB / 289.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1455/0.1992, allocations: 3.747 MB / 293.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1992, allocations: 0 / 293.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1992, allocations: 0 / 293.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.1993, allocations: 2.406 kB / 293.1 MB, free: 19.07 MB / 266.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.009163/0.2085, allocations: 2.919 MB / 296 MB, free: 17.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.2085, allocations: 10.95 kB / 296 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.2101, allocations: 422.3 kB / 296.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.2139, allocations: 1.296 MB / 297.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.214, allocations: 135.8 kB / 297.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004442/0.2145, allocations: 187.7 kB / 298.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.2202, allocations: 2.305 MB / 300.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/0.2203, allocations: 5.281 kB / 300.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.2206, allocations: 79.05 kB / 300.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.2207, allocations: 88.55 kB / 300.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/0.2251, allocations: 1.498 MB / 302 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.242, allocations: 8.611 MB / 310.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2439, allocations: 0.6912 MB / 311.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.2459, allocations: 0.6319 MB / 312 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.2461, allocations: 49.5 kB / 312 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2461, allocations: 45.11 kB / 312.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.898e-06/0.2462, allocations: 4 kB / 312.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.01052/0.2567, allocations: 3.164 MB / 315.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2567, allocations: 68.34 kB / 315.3 MB, free: 8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.2592, allocations: 1.499 MB / 316.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.2593, allocations: 41.7 kB / 316.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/0.2601, allocations: 1.065 MB / 317.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.2604, allocations: 399.8 kB / 318.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/0.2609, allocations: 264.5 kB / 318.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2611, allocations: 0.5707 MB / 319.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.2619, allocations: 326.4 kB / 319.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2629, allocations: 0.7677 MB / 320.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.265, allocations: 1.215 MB / 321.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.265, allocations: 4 kB / 321.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004508/0.2695, allocations: 1.58 MB / 323 MB, free: 20 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2695, allocations: 12.23 kB / 323 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.423e-05/0.2696, allocations: 12.05 kB / 323 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.272, allocations: 0.5537 MB / 323.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.2735, allocations: 230.9 kB / 323.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00986/0.2833, allocations: 6.184 MB / 330 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2847, allocations: 79.91 kB / 330.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.2848, allocations: 51.98 kB / 330.1 MB, free: 8.703 MB / 282.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.001251/0.2861, allocations: 0.5262 MB / 330.6 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.2865, allocations: 176.8 kB / 330.8 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.2896, allocations: 1.148 MB / 332 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2896, allocations: 8 kB / 332 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.2896, allocations: 4 kB / 332 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2896, allocations: 7.969 kB / 332 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.2973, allocations: 3.301 MB / 335.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2973, allocations: 4.219 kB / 335.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.2981, allocations: 182.4 kB / 335.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.2994, allocations: 305.8 kB / 335.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.2995, allocations: 27.98 kB / 335.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007343/0.3068, allocations: 6.385 MB / 342.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3068, allocations: 4 kB / 342.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/0.3111, allocations: 1.717 MB / 343.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.3122, allocations: 251 kB / 344.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.3126, allocations: 27.98 kB / 344.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.3135, allocations: 63.92 kB / 344.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.3138, allocations: 92.11 kB / 344.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.394e-05/0.3139, allocations: 24 kB / 344.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002116/0.316, allocations: 0.8844 MB / 345.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.316, allocations: 4 kB / 345.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002844/0.3188, allocations: 431.9 kB / 345.7 MB, free: 8.738 MB / 298.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.0005729/0.3194, allocations: 186.2 kB / 345.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.3232, allocations: 1.587 MB / 347.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.3232, allocations: 0 / 347.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.3254, allocations: 1.156 MB / 348.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.3278, allocations: 335.2 kB / 348.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/0.3361, allocations: 3.536 MB / 352.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.3376, allocations: 1.047 MB / 353.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001006/0.3386, allocations: 239 kB / 353.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.3389, allocations: 96.48 kB / 353.8 MB, free: 440 kB / 298.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3389, allocations: 0 / 353.8 MB, free: 440 kB / 298.7 MB Notification: Performance of Templates: time 0.05805/0.397, allocations: 23.12 MB / 376.9 MB, free: 9.664 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.45601748500485]