Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.001898/0.001898, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002404/0.002404, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 55.92 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 49.15 MB / 396.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01262/0.3338, allocations: 10.34 MB / 407.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3442, allocations: 3.759 MB / 411 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.3476, allocations: 72.25 kB / 411 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.3517, allocations: 0.8428 MB / 411.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.3572, allocations: 1.03 MB / 412.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.3595, allocations: 0.5266 MB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006708/0.3662, allocations: 3.454 MB / 416.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003701/0.3699, allocations: 1.452 MB / 418.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.3734, allocations: 1.575 MB / 419.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.378, allocations: 1.874 MB / 421.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.3795, allocations: 409 kB / 422.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3824, allocations: 0.6194 MB / 422.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.3845, allocations: 1.167 MB / 424 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.3888, allocations: 1.486 MB / 425.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008428/0.3972, allocations: 5.417 MB / 430.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3972, allocations: 3.938 kB / 430.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3972, allocations: 4 kB / 430.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.3974, allocations: 0 / 430.9 MB, free: 1.027 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009206/0.4066, allocations: 3.713 MB / 434.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4066, allocations: 19.98 kB / 434.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.4082, allocations: 450.6 kB / 435 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.412, allocations: 1.79 MB / 436.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.4122, allocations: 201.4 kB / 437 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/0.4127, allocations: 275.9 kB / 437.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007172/0.4198, allocations: 3.643 MB / 440.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.697e-05/0.4199, allocations: 11.83 kB / 441 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/0.4202, allocations: 116 kB / 441.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.4204, allocations: 117.3 kB / 441.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006175/0.4266, allocations: 2.96 MB / 444.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.4479, allocations: 9.577 MB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.4508, allocations: 1.505 MB / 455.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.4531, allocations: 1.105 MB / 456.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.4534, allocations: 57.2 kB / 456.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.4534, allocations: 51.81 kB / 456.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.737e-06/0.4534, allocations: 0 / 456.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01816/0.4716, allocations: 7.055 MB / 463.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4717, allocations: 64.72 kB / 463.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.4758, allocations: 1.826 MB / 465.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.476, allocations: 49.7 kB / 465.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.4777, allocations: 1.353 MB / 466.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/0.4785, allocations: 0.5229 MB / 467.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007497/0.4793, allocations: 331.4 kB / 467.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4794, allocations: 305.1 kB / 467.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.4812, allocations: 0.8823 MB / 468.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.4834, allocations: 1.377 MB / 470.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.4874, allocations: 2.382 MB / 472.6 MB, free: 6.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.4874, allocations: 4 kB / 472.6 MB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006233/0.4936, allocations: 2.888 MB / 475.5 MB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4937, allocations: 12 kB / 475.5 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.4937, allocations: 19.94 kB / 475.5 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.4949, allocations: 458.5 kB / 475.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4966, allocations: 431.3 kB / 476.4 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/0.5042, allocations: 5.79 MB / 482.2 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.506, allocations: 123.8 kB / 482.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.5062, allocations: 75.98 kB / 482.3 MB, free: 12.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.5081, allocations: 0.8601 MB / 483.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/0.5088, allocations: 202.7 kB / 483.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/0.5143, allocations: 2.487 MB / 485.9 MB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/0.5144, allocations: 23.94 kB / 485.9 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/0.5144, allocations: 4 kB / 485.9 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5144, allocations: 11.97 kB / 485.9 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.5262, allocations: 4.847 MB / 490.8 MB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.5263, allocations: 4 kB / 490.8 MB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5275, allocations: 280.1 kB / 491.1 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.529, allocations: 498 kB / 491.5 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.5291, allocations: 35.98 kB / 491.6 MB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/0.538, allocations: 7.246 MB / 498.8 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.538, allocations: 7.938 kB / 498.8 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/0.5453, allocations: 3.749 MB / 0.4908 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.5467, allocations: 398.4 kB / 0.4912 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/0.5473, allocations: 35.98 kB / 0.4912 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.5489, allocations: 99.89 kB / 0.4913 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/0.5492, allocations: 129 kB / 0.4914 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.5494, allocations: 47.98 kB / 0.4915 GB, free: 6.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002572/0.552, allocations: 1.23 MB / 0.4927 GB, free: 5.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.552, allocations: 0 / 0.4927 GB, free: 5.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002471/0.5544, allocations: 0.5781 MB / 0.4932 GB, free: 5.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0005542/0.555, allocations: 226.8 kB / 0.4935 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004941/0.5599, allocations: 2.442 MB / 0.4958 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.5599, allocations: 4 kB / 0.4959 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.5629, allocations: 1.546 MB / 0.4974 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.5655, allocations: 429.8 kB / 0.4978 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5773, allocations: 5.708 MB / 0.5033 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.5799, allocations: 1.572 MB / 0.5049 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001779/0.5817, allocations: 451.5 kB / 0.5053 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/0.5823, allocations: 131.4 kB / 0.5054 GB, free: 8.336 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5823, allocations: 0 / 0.5054 GB, free: 8.336 MB / 430.1 MB Notification: Performance of Templates: time 0.06207/0.6443, allocations: 32.97 MB / 0.5376 GB, free: 7.293 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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: 6.594796923920512]