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.001364/0.001364, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.001645/0.001645, allocations: 159.1 kB / 24.49 MB, free: 3.465 MB / 14.72 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.44/1.44, allocations: 173.4 MB / 201.1 MB, free: 12.58 MB / 190.1 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 0.001527/0.001527, allocations: 50.97 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09346, allocations: 52.15 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01097/0.1044, allocations: 8.339 MB / 379.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00597/0.1104, allocations: 2.804 MB / 382.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1118, allocations: 59.62 kB / 382.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1136, allocations: 0.6172 MB / 383.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.1162, allocations: 0.8235 MB / 384.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.1171, allocations: 347.5 kB / 384.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.1208, allocations: 2.661 MB / 387.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.1225, allocations: 1.128 MB / 388.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.1244, allocations: 1.219 MB / 389.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.127, allocations: 1.459 MB / 391 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.1275, allocations: 308 kB / 391.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.1284, allocations: 391.8 kB / 391.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009966/0.1294, allocations: 0.9075 MB / 392.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1309, allocations: 1.132 MB / 393.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.1357, allocations: 4.118 MB / 397.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1357, allocations: 0 / 397.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1357, allocations: 0 / 397.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001181/0.1358, allocations: 0 / 397.9 MB, free: 12.91 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00635/0.1422, allocations: 2.849 MB / 400.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1422, allocations: 12.92 kB / 400.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000774/0.143, allocations: 307.1 kB / 401 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.1458, allocations: 1.464 MB / 402.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.146, allocations: 152.4 kB / 402.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.1463, allocations: 216.1 kB / 402.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.1512, allocations: 2.832 MB / 405.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/0.1513, allocations: 7.953 kB / 405.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.1515, allocations: 83.98 kB / 405.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.1516, allocations: 91.94 kB / 405.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.1559, allocations: 2.326 MB / 408.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.1693, allocations: 7.254 MB / 415.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.1715, allocations: 1.235 MB / 416.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.1736, allocations: 1.015 MB / 417.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.1738, allocations: 56.83 kB / 417.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.1738, allocations: 47.56 kB / 417.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.1738, allocations: 0 / 417.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01409/0.1879, allocations: 5.92 MB / 423.7 MB, free: 2.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.188, allocations: 60.41 kB / 423.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.1903, allocations: 1.38 MB / 425.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.1904, allocations: 45.7 kB / 425.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009303/0.1913, allocations: 1.016 MB / 426.2 MB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.1918, allocations: 436.4 kB / 426.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.1922, allocations: 255.5 kB / 426.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1924, allocations: 361.9 kB / 427.2 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.1936, allocations: 0.7261 MB / 428 MB, free: 14.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.1951, allocations: 1.063 MB / 429 MB, free: 13.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.198, allocations: 1.871 MB / 430.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.198, allocations: 4 kB / 430.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004321/0.2024, allocations: 2.346 MB / 433.3 MB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2024, allocations: 8 kB / 433.3 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.2024, allocations: 8 kB / 433.3 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.2034, allocations: 403.1 kB / 433.7 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.2047, allocations: 335.6 kB / 434 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.2104, allocations: 4.776 MB / 438.8 MB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.2115, allocations: 83.91 kB / 438.8 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.2117, allocations: 64.05 kB / 438.9 MB, free: 2.809 MB / 398.1 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.001197/0.2129, allocations: 0.708 MB / 439.6 MB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.2131, allocations: 155 kB / 439.8 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.2171, allocations: 2.12 MB / 441.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2171, allocations: 15.94 kB / 441.9 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.2171, allocations: 4 kB / 441.9 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.2171, allocations: 11.97 kB / 441.9 MB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.2246, allocations: 4.035 MB / 446 MB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.2246, allocations: 3.984 kB / 446 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.2256, allocations: 219.7 kB / 446.2 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.2269, allocations: 475.1 kB / 446.6 MB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/0.227, allocations: 27.98 kB / 446.7 MB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/0.2338, allocations: 6.278 MB / 452.9 MB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2338, allocations: 0 / 452.9 MB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.2392, allocations: 3.169 MB / 456.1 MB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.2401, allocations: 306.9 kB / 456.4 MB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.2403, allocations: 31.98 kB / 456.4 MB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.2411, allocations: 75.91 kB / 456.5 MB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.2414, allocations: 112.7 kB / 456.6 MB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/0.2415, allocations: 35.94 kB / 456.7 MB, free: 0.5469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001671/0.2432, allocations: 0.9427 MB / 457.6 MB, free: 15.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2432, allocations: 0 / 457.6 MB, free: 15.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002029/0.2452, allocations: 463.9 kB / 458.1 MB, free: 15.15 MB / 430.1 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.000415/0.2456, allocations: 186.9 kB / 458.2 MB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.2494, allocations: 2.045 MB / 460.3 MB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2494, allocations: 0.5625 kB / 460.3 MB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.2517, allocations: 1.369 MB / 461.7 MB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.2536, allocations: 380.5 kB / 462 MB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.2615, allocations: 4.527 MB / 466.6 MB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.2631, allocations: 1.237 MB / 467.8 MB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001308/0.2644, allocations: 380.5 kB / 468.2 MB, free: 4.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.2648, allocations: 116.4 kB / 468.3 MB, free: 4.734 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2648, allocations: 0 / 468.3 MB, free: 4.734 MB / 430.1 MB Notification: Performance of Templates: time 0.2139/0.4787, allocations: 24.59 MB / 492.9 MB, free: 83.76 MB / 430.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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.4538703670259565]