Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001857/0.001857, allocations: 114.6 kB / 18.4 MB, free: 4.773 MB / 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.002142/0.002142, allocations: 190.7 kB / 21.34 MB, free: 1.844 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.469/1.469, allocations: 222.9 MB / 247 MB, free: 4.348 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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 358.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09462, allocations: 49.44 MB / 408.1 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01453/0.1092, allocations: 11.81 MB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.117, allocations: 3.735 MB / 423.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.1189, allocations: 71.69 kB / 423.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.1213, allocations: 0.8733 MB / 424.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.1247, allocations: 1.076 MB / 425.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1261, allocations: 487.3 kB / 426.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.1317, allocations: 4.23 MB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1908/0.3226, allocations: 3.295 MB / 433.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.3255, allocations: 1.902 MB / 435.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.3292, allocations: 2.327 MB / 437.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.3307, allocations: 0.4945 MB / 438.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3327, allocations: 0.5799 MB / 439 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.3345, allocations: 1.398 MB / 440.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003965/0.3385, allocations: 2.206 MB / 442.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008577/0.3471, allocations: 6.565 MB / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3471, allocations: 2.25 kB / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3471, allocations: 0 / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000229/0.3473, allocations: 0 / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01249/0.3598, allocations: 4.408 MB / 453.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3599, allocations: 8.688 kB / 453.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.3614, allocations: 459.4 kB / 454 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/0.3657, allocations: 2.408 MB / 456.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3659, allocations: 230.5 kB / 456.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006819/0.3666, allocations: 316.4 kB / 457 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008808/0.3754, allocations: 4.371 MB / 461.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-05/0.3755, allocations: 11.64 kB / 461.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.3759, allocations: 123.5 kB / 461.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.3761, allocations: 133.5 kB / 461.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007405/0.3835, allocations: 3.779 MB / 465.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.4104, allocations: 13.41 MB / 478.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.4145, allocations: 2.909 MB / 481.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.4176, allocations: 1.676 MB / 483.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.4179, allocations: 126.4 kB / 483.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.502e-05/0.418, allocations: 51.88 kB / 483.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.767e-06/0.418, allocations: 0 / 483.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.02044/0.4384, allocations: 9.045 MB / 492.6 MB, free: 1.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4385, allocations: 69.41 kB / 492.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.4425, allocations: 2.365 MB / 495 MB, free: 15.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.4428, allocations: 61.64 kB / 495.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.4441, allocations: 1.498 MB / 496.6 MB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006773/0.4448, allocations: 0.6328 MB / 497.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006713/0.4454, allocations: 367.5 kB / 497.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4456, allocations: 305.1 kB / 497.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.4475, allocations: 1.124 MB / 499 MB, free: 11.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.4497, allocations: 1.571 MB / 0.4888 GB, free: 9.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.4539, allocations: 2.788 MB / 0.4915 GB, free: 6.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.454, allocations: 4 kB / 0.4915 GB, free: 6.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006526/0.4605, allocations: 3.6 MB / 0.4951 GB, free: 3.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4605, allocations: 12 kB / 0.4951 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.4606, allocations: 12 kB / 0.4951 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.4627, allocations: 0.8008 MB / 0.4959 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4645, allocations: 456.8 kB / 0.4963 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.4768, allocations: 11.17 MB / 0.5072 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.4791, allocations: 130.5 kB / 0.5073 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4793, allocations: 76 kB / 0.5074 GB, free: 5.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002037/0.4814, allocations: 1.086 MB / 0.5085 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/0.4819, allocations: 262.4 kB / 0.5087 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/0.4879, allocations: 3.305 MB / 0.512 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.488, allocations: 16 kB / 0.512 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.488, allocations: 8 kB / 0.512 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.488, allocations: 11.97 kB / 0.512 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5001, allocations: 6.855 MB / 0.5187 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5001, allocations: 4 kB / 0.5187 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.5015, allocations: 301.2 kB / 0.519 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.504, allocations: 0.916 MB / 0.5199 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.5043, allocations: 43.97 kB / 0.5199 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.5192, allocations: 14.62 MB / 0.5342 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5193, allocations: 4 kB / 0.5342 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008676/0.528, allocations: 4.874 MB / 0.539 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.5299, allocations: 0.5735 MB / 0.5395 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006565/0.5306, allocations: 36 kB / 0.5395 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.532, allocations: 123.9 kB / 0.5397 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/0.5324, allocations: 156.3 kB / 0.5398 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.5325, allocations: 51.98 kB / 0.5399 GB, free: 3.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.5352, allocations: 1.625 MB / 0.5415 GB, free: 1.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5352, allocations: 2.625 kB / 0.5415 GB, free: 1.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003013/0.5383, allocations: 0.7071 MB / 0.5421 GB, free: 1.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0006127/0.5389, allocations: 213.7 kB / 0.5423 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006399/0.5453, allocations: 3.592 MB / 0.5459 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5454, allocations: 4 kB / 0.5459 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.5496, allocations: 2.507 MB / 0.5483 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/0.554, allocations: 0.7145 MB / 0.549 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.5678, allocations: 6.857 MB / 0.5557 GB, free: 3.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/0.5704, allocations: 2.474 MB / 0.5581 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/0.5714, allocations: 175.4 kB / 0.5583 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5714, allocations: 3.938 kB / 0.5583 GB, free: 0.5 MB / 462.1 MB Notification: Performance of Templates: time 0.3295/0.9008, allocations: 167.9 MB / 0.7222 GB, free: 64.4 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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: 17.0444148540264]