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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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=60000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 113.3 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 189.2 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.91 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07826, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.1828/0.2611, allocations: 11.75 MB / 387.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.269, allocations: 3.974 MB / 391.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.2717, allocations: 56.44 kB / 391.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.2747, allocations: 0.8585 MB / 392.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.2789, allocations: 0.9803 MB / 393.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.2804, allocations: 0.5314 MB / 394 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004333/0.2848, allocations: 3.447 MB / 397.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.2882, allocations: 2.671 MB / 400.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.2911, allocations: 1.539 MB / 401.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.2943, allocations: 1.935 MB / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007887/0.2951, allocations: 408.9 kB / 404 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2969, allocations: 0.6429 MB / 404.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.2982, allocations: 1.148 MB / 405.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002797/0.301, allocations: 1.836 MB / 407.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006471/0.3074, allocations: 5.373 MB / 413 MB, free: 8.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3075, allocations: 1.688 kB / 413 MB, free: 8.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3075, allocations: 1.094 kB / 413 MB, free: 8.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000128/0.3076, allocations: 0 / 413 MB, free: 8.477 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.00887/0.3165, allocations: 3.713 MB / 416.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3166, allocations: 9.625 kB / 416.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3182, allocations: 434.5 kB / 417.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.3219, allocations: 1.849 MB / 419 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.3221, allocations: 205.3 kB / 419.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.3225, allocations: 267.9 kB / 419.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/0.3287, allocations: 3.525 MB / 423 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.3288, allocations: 7.938 kB / 423 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.3291, allocations: 104 kB / 423.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.3292, allocations: 133.2 kB / 423.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/0.3346, allocations: 2.956 MB / 426.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.3527, allocations: 10.98 MB / 437.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.3558, allocations: 2.281 MB / 439.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.358, allocations: 1.183 MB / 440.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.3583, allocations: 207.5 kB / 440.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3584, allocations: 47.88 kB / 440.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.577e-06/0.3584, allocations: 0 / 440.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01712/0.3755, allocations: 7.501 MB / 448.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3756, allocations: 64.72 kB / 448.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.3787, allocations: 1.979 MB / 450.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.3789, allocations: 49.7 kB / 450.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.3799, allocations: 1.308 MB / 451.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.3803, allocations: 0.5083 MB / 452.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.3809, allocations: 335.2 kB / 452.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.381, allocations: 309.1 kB / 452.9 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3825, allocations: 0.8784 MB / 453.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.3844, allocations: 1.372 MB / 455.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.3879, allocations: 2.382 MB / 457.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.388, allocations: 4 kB / 457.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005561/0.3935, allocations: 2.966 MB / 460.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3936, allocations: 15.94 kB / 460.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.3936, allocations: 16 kB / 460.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.3949, allocations: 470.4 kB / 461 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.3966, allocations: 427.3 kB / 461.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/0.4035, allocations: 6.105 MB / 467.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.4054, allocations: 127.8 kB / 467.6 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.4056, allocations: 72 kB / 467.7 MB, free: 1.969 MB / 382.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.001565/0.4072, allocations: 0.8563 MB / 468.5 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.4077, allocations: 213.4 kB / 468.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/0.4123, allocations: 2.579 MB / 471.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.4124, allocations: 16 kB / 471.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4124, allocations: 8 kB / 471.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.4124, allocations: 7.969 kB / 471.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009968/0.4224, allocations: 5.627 MB / 477 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4224, allocations: 4 kB / 477 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.4238, allocations: 288.1 kB / 477.3 MB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.4252, allocations: 494.3 kB / 477.8 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.4253, allocations: 39.98 kB / 477.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007958/0.4333, allocations: 7.668 MB / 485.5 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4333, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006579/0.4399, allocations: 3.847 MB / 489.3 MB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.4413, allocations: 474.4 kB / 489.8 MB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/0.4417, allocations: 43.98 kB / 489.8 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.443, allocations: 95.89 kB / 489.9 MB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.4433, allocations: 121 kB / 490 MB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4435, allocations: 43.98 kB / 490.1 MB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.4456, allocations: 1.363 MB / 491.4 MB, free: 9.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4456, allocations: 4 kB / 491.4 MB, free: 9.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002188/0.4478, allocations: 0.586 MB / 492 MB, free: 8.855 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.000522/0.4483, allocations: 218.2 kB / 492.2 MB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00447/0.4528, allocations: 2.608 MB / 494.9 MB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4529, allocations: 4.812 kB / 494.9 MB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.4557, allocations: 1.619 MB / 496.5 MB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.4584, allocations: 0.4966 MB / 497 MB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/0.468, allocations: 5.645 MB / 0.4908 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.4701, allocations: 2.104 MB / 0.4929 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.4708, allocations: 151.4 kB / 0.493 GB, free: 11.8 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4708, allocations: 4 kB / 0.493 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Templates: time 0.2455/0.7163, allocations: 75.45 MB / 0.5667 GB, free: 152.7 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches