Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2132, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01047/0.2236, allocations: 7.949 MB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004722/0.2284, allocations: 2.773 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.2289, allocations: 59.62 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2303, allocations: 0.59 MB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.232, allocations: 0.7846 MB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.2326, allocations: 339.4 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.2351, allocations: 2.377 MB / 447.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.2365, allocations: 1.023 MB / 448.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.2378, allocations: 1.106 MB / 449.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2395, allocations: 1.378 MB / 450.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.2399, allocations: 280 kB / 451 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.2406, allocations: 379.8 kB / 451.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.2414, allocations: 0.8141 MB / 452.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2425, allocations: 1.019 MB / 453.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003862/0.2464, allocations: 3.733 MB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2464, allocations: 0 / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2464, allocations: 0 / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.2464, allocations: 4 kB / 456.9 MB, free: 14 MB / 366.1 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.004873/0.2513, allocations: 2.583 MB / 459.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2513, allocations: 8.031 kB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.2523, allocations: 307.3 kB / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.2549, allocations: 1.349 MB / 461.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.255, allocations: 132 kB / 461.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.2554, allocations: 191.9 kB / 461.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.2595, allocations: 2.502 MB / 464 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.2595, allocations: 7.984 kB / 464 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.2597, allocations: 72 kB / 464.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.916e-05/0.2598, allocations: 83.5 kB / 464.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.2633, allocations: 2.016 MB / 466.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.2743, allocations: 6.39 MB / 472.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2762, allocations: 0.9888 MB / 473.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.278, allocations: 0.8581 MB / 474.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.2782, allocations: 44.97 kB / 474.4 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2782, allocations: 43.56 kB / 474.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.534e-06/0.2782, allocations: 0 / 474.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009367/0.2876, allocations: 4.686 MB / 479.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2876, allocations: 64.41 kB / 479.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.2893, allocations: 1.249 MB / 480.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.2894, allocations: 45.7 kB / 480.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007285/0.2902, allocations: 0.9337 MB / 481.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.2905, allocations: 372.8 kB / 481.8 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.2908, allocations: 218.9 kB / 482 MB, free: 4.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.291, allocations: 353.9 kB / 482.4 MB, free: 4.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.2921, allocations: 0.6272 MB / 483 MB, free: 3.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.2933, allocations: 0.9259 MB / 483.9 MB, free: 2.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.2958, allocations: 1.645 MB / 485.6 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2958, allocations: 11.94 kB / 485.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004296/0.3001, allocations: 2.364 MB / 488 MB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3001, allocations: 8 kB / 488 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3001, allocations: 8 kB / 488 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.302, allocations: 0.7206 MB / 488.7 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/0.303, allocations: 235.7 kB / 488.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.3145, allocations: 8.386 MB / 497.3 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3156, allocations: 87.86 kB / 497.4 MB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3157, allocations: 44 kB / 497.4 MB, free: 4.562 MB / 398.1 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.00103/0.3167, allocations: 0.638 MB / 498.1 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.317, allocations: 139.1 kB / 498.2 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.3206, allocations: 1.892 MB / 0.4884 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3206, allocations: 8 kB / 0.4884 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3206, allocations: 4 kB / 0.4884 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3206, allocations: 3.984 kB / 0.4884 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.3275, allocations: 3.518 MB / 0.4918 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3275, allocations: 4 kB / 0.4918 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/0.3283, allocations: 184 kB / 0.492 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.3296, allocations: 466.1 kB / 0.4925 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3298, allocations: 31.97 kB / 0.4925 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/0.3367, allocations: 6.271 MB / 0.4986 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3367, allocations: 0 / 0.4986 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.3415, allocations: 2.76 MB / 0.5013 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/0.3424, allocations: 275 kB / 0.5016 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3426, allocations: 28 kB / 0.5016 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.3433, allocations: 63.92 kB / 0.5017 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.3436, allocations: 96.7 kB / 0.5017 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.3437, allocations: 28 kB / 0.5018 GB, free: 3.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.345, allocations: 0.8575 MB / 0.5026 GB, free: 2.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.345, allocations: 0 / 0.5026 GB, free: 2.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001392/0.3464, allocations: 431.9 kB / 0.503 GB, free: 2.418 MB / 414.1 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.0003425/0.3467, allocations: 186.3 kB / 0.5032 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.3502, allocations: 1.934 MB / 0.5051 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3502, allocations: 0 / 0.5051 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.3524, allocations: 1.222 MB / 0.5063 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.3539, allocations: 335.2 kB / 0.5066 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.3625, allocations: 4.08 MB / 0.5106 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.3639, allocations: 1.122 MB / 0.5117 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009388/0.3648, allocations: 295 kB / 0.512 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.3651, allocations: 91.42 kB / 0.512 GB, free: 9.008 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3651, allocations: 0 / 0.512 GB, free: 9.008 MB / 430.1 MB Notification: Performance of Templates: time 0.2085/0.5736, allocations: 25.89 MB / 0.5373 GB, free: 103.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.628445173992077]