Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001508/0.001508, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.001646/0.001646, allocations: 149.3 kB / 24.26 MB, free: 184 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.43/1.43, allocations: 173.4 MB / 200.8 MB, free: 9.297 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.786e-05, allocations: 5.969 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0165/0.01654, allocations: 8.344 MB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.02559, allocations: 2.812 MB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.02745, allocations: 59.62 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.03043, allocations: 0.6248 MB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.03498, allocations: 0.8421 MB / 280 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.03647, allocations: 355.4 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00588/0.04235, allocations: 2.746 MB / 283.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.04525, allocations: 1.132 MB / 284.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.05066, allocations: 1.766 MB / 286 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.05461, allocations: 1.321 MB / 287.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.05571, allocations: 311.9 kB / 287.6 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.05731, allocations: 391.9 kB / 288 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.05902, allocations: 0.9309 MB / 289 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1833/0.2423, allocations: 0.9594 MB / 289.9 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008513/0.2508, allocations: 4.143 MB / 294.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2509, allocations: 0 / 294.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2509, allocations: 3.094 kB / 294.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.251, allocations: 0.8125 kB / 294.1 MB, free: 19.2 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009043/0.26, allocations: 2.817 MB / 296.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2601, allocations: 9.859 kB / 296.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.2613, allocations: 476 kB / 297.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.264, allocations: 1.52 MB / 298.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.2642, allocations: 154.9 kB / 299 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.2645, allocations: 205.5 kB / 299.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005161/0.2697, allocations: 2.828 MB / 302.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.2698, allocations: 11.61 kB / 302.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.27, allocations: 88.8 kB / 302.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.2701, allocations: 94.62 kB / 302.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.2737, allocations: 2.326 MB / 304.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.2847, allocations: 7.357 MB / 311.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.2864, allocations: 1.244 MB / 313.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.288, allocations: 1.014 MB / 314.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.2882, allocations: 48.97 kB / 314.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2883, allocations: 47.5 kB / 314.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/0.2883, allocations: 4 kB / 314.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.01167/0.2999, allocations: 5.951 MB / 320.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3, allocations: 67.8 kB / 320.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.302, allocations: 1.38 MB / 321.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.3021, allocations: 45.7 kB / 321.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.3026, allocations: 1.015 MB / 322.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.3028, allocations: 430.1 kB / 323.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.3032, allocations: 255.5 kB / 323.4 MB, free: 304 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3033, allocations: 361.9 kB / 323.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.3048, allocations: 0.7378 MB / 324.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.3065, allocations: 1.054 MB / 325.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.31, allocations: 1.874 MB / 327.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.31, allocations: 4 kB / 327.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005283/0.3153, allocations: 2.402 MB / 329.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3153, allocations: 8 kB / 329.8 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.3153, allocations: 8 kB / 329.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.3167, allocations: 447.4 kB / 330.3 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.318, allocations: 334.4 kB / 330.6 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.3248, allocations: 4.795 MB / 335.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.3264, allocations: 87.91 kB / 335.5 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.3266, allocations: 51.98 kB / 335.5 MB, free: 3.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001738/0.3283, allocations: 0.7069 MB / 336.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007393/0.329, allocations: 206.9 kB / 336.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.3335, allocations: 2.123 MB / 338.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3335, allocations: 8 kB / 338.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3336, allocations: 4 kB / 338.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3336, allocations: 3.984 kB / 338.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009439/0.343, allocations: 4.049 MB / 342.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.343, allocations: 4 kB / 342.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.3441, allocations: 224.3 kB / 342.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.3457, allocations: 496.3 kB / 343.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.3458, allocations: 27.98 kB / 343.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009133/0.3549, allocations: 6.291 MB / 349.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3549, allocations: 0 / 349.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006542/0.3614, allocations: 3.204 MB / 352.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.3626, allocations: 310.9 kB / 353.2 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.363, allocations: 31.98 kB / 353.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.3641, allocations: 75.92 kB / 353.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.3645, allocations: 116.4 kB / 353.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.3646, allocations: 39.98 kB / 353.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002024/0.3666, allocations: 0.9388 MB / 354.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3666, allocations: 0 / 354.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002368/0.369, allocations: 456 kB / 354.8 MB, free: 200 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.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 (104): * Single equations (assignments): 100 * 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.0005412/0.3695, allocations: 190 kB / 355 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.3739, allocations: 2.058 MB / 357.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.374, allocations: 0 / 357.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.3768, allocations: 1.365 MB / 358.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.3799, allocations: 393.8 kB / 358.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3904, allocations: 4.424 MB / 363.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.3928, allocations: 1.245 MB / 364.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001545/0.3944, allocations: 376.5 kB / 364.8 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.3949, allocations: 108.5 kB / 365 MB, free: 5.961 MB / 314.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3949, allocations: 0 / 365 MB, free: 5.961 MB / 314.7 MB Notification: Performance of Templates: time 0.04885/0.4438, allocations: 24.53 MB / 389.5 MB, free: 13.82 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.516249092994258]