Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001316/0.001316, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001503/0.001503, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.992 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 55.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2618, allocations: 53.35 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0126/0.2744, allocations: 9.533 MB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.2807, allocations: 3.069 MB / 445 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.2821, allocations: 63.56 kB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.284, allocations: 0.6678 MB / 445.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.2866, allocations: 0.8157 MB / 446.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.2875, allocations: 371.4 kB / 446.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.2913, allocations: 2.681 MB / 449.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.2932, allocations: 1.16 MB / 450.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.295, allocations: 1.238 MB / 452 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.2977, allocations: 1.537 MB / 453.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005108/0.2982, allocations: 312 kB / 453.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007978/0.299, allocations: 411.8 kB / 454.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008979/0.2999, allocations: 0.8882 MB / 455.1 MB, free: 80 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.3016, allocations: 1.416 MB / 456.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.3062, allocations: 4.12 MB / 460.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3063, allocations: 0 / 460.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3063, allocations: 0 / 460.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.924e-05/0.3063, allocations: 0 / 460.7 MB, free: 10.52 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.005667/0.312, allocations: 2.861 MB / 463.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.312, allocations: 8.031 kB / 463.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.313, allocations: 339.1 kB / 463.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.3159, allocations: 1.484 MB / 465.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3161, allocations: 152.4 kB / 465.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.3164, allocations: 211.9 kB / 465.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.321, allocations: 2.736 MB / 468.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/0.321, allocations: 7.953 kB / 468.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.3212, allocations: 80 kB / 468.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3213, allocations: 95.92 kB / 468.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.3253, allocations: 2.326 MB / 470.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.3391, allocations: 8.189 MB / 479.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.3412, allocations: 1.255 MB / 480.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.3431, allocations: 1.015 MB / 481.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.3433, allocations: 44.97 kB / 481.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.3433, allocations: 51.5 kB / 481.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.3433, allocations: 0 / 481.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0132/0.3565, allocations: 5.934 MB / 487.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.3566, allocations: 64.41 kB / 487.5 MB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.359, allocations: 1.533 MB / 489 MB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3591, allocations: 45.7 kB / 489.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/0.36, allocations: 1.013 MB / 490.1 MB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/0.3604, allocations: 436.3 kB / 490.5 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.3608, allocations: 251.5 kB / 490.7 MB, free: 11.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.361, allocations: 361.9 kB / 491.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3622, allocations: 0.7339 MB / 491.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.3637, allocations: 1.055 MB / 492.9 MB, free: 9.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.3665, allocations: 1.875 MB / 494.8 MB, free: 7.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.3665, allocations: 8 kB / 494.8 MB, free: 7.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004267/0.3708, allocations: 2.354 MB / 497.1 MB, free: 5.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.3708, allocations: 12 kB / 497.1 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.3708, allocations: 15.92 kB / 497.2 MB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.3718, allocations: 414.8 kB / 497.6 MB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.3731, allocations: 327.5 kB / 497.9 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.3788, allocations: 4.857 MB / 0.491 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.38, allocations: 99.73 kB / 0.491 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3801, allocations: 60.05 kB / 0.4911 GB, free: 15.23 MB / 414.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.001251/0.3814, allocations: 0.7042 MB / 0.4918 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.3817, allocations: 166.9 kB / 0.492 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.3856, allocations: 2.133 MB / 0.494 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3857, allocations: 12 kB / 0.494 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3857, allocations: 8 kB / 0.4941 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.3857, allocations: 3.984 kB / 0.4941 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008492/0.3942, allocations: 4.534 MB / 0.4985 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.3942, allocations: 4 kB / 0.4985 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.3952, allocations: 215.7 kB / 0.4987 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.3964, allocations: 486.1 kB / 0.4992 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.3966, allocations: 27.98 kB / 0.4992 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/0.4037, allocations: 6.381 MB / 0.5054 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4037, allocations: 8 kB / 0.5054 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.4091, allocations: 3.181 MB / 0.5085 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.4101, allocations: 334.8 kB / 0.5088 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.4103, allocations: 27.98 kB / 0.5089 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.4112, allocations: 79.86 kB / 0.509 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.4114, allocations: 108.7 kB / 0.5091 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/0.4115, allocations: 35.98 kB / 0.5091 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.4132, allocations: 1.056 MB / 0.5101 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4132, allocations: 3.938 kB / 0.5101 GB, free: 11.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001478/0.4147, allocations: 468 kB / 0.5106 GB, free: 10.75 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.0003863/0.4151, allocations: 186.9 kB / 0.5107 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.4187, allocations: 2.049 MB / 0.5128 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4187, allocations: 0 / 0.5128 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.4211, allocations: 1.362 MB / 0.5141 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.4231, allocations: 446.1 kB / 0.5145 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/0.4311, allocations: 4.617 MB / 0.519 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.4328, allocations: 1.807 MB / 0.5208 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.4334, allocations: 119.4 kB / 0.5209 GB, free: 4 kB / 430.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4334, allocations: 0 / 0.5209 GB, free: 4 kB / 430.1 MB Notification: Performance of Templates: time 0.2452/0.6786, allocations: 70.67 MB / 0.5899 GB, free: 55.17 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.574555244995281]