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.001287/0.001287, allocations: 103.9 kB / 18.4 MB, free: 4.551 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.00116/0.00116, allocations: 190.4 kB / 19.33 MB, free: 3.629 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.337/1.337, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001246/0.001246, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07494, allocations: 46.62 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.1801/0.2551, allocations: 11.75 MB / 387.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2655, allocations: 3.984 MB / 391.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.2677, allocations: 52.28 kB / 391.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.2707, allocations: 0.8582 MB / 392.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.2748, allocations: 0.9825 MB / 393.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.2767, allocations: 0.5223 MB / 394 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.2818, allocations: 3.451 MB / 397.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00444/0.2863, allocations: 2.673 MB / 400.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.2894, allocations: 1.54 MB / 401.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004271/0.2937, allocations: 1.934 MB / 403.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008454/0.2946, allocations: 409.9 kB / 404 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.2966, allocations: 0.6453 MB / 404.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.2983, allocations: 1.147 MB / 405.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002866/0.3012, allocations: 1.836 MB / 407.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008046/0.3093, allocations: 5.377 MB / 413 MB, free: 8.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3093, allocations: 0 / 413 MB, free: 8.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3093, allocations: 0 / 413 MB, free: 8.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.736e-05/0.3094, allocations: 0 / 413 MB, free: 8.449 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.01209/0.3215, allocations: 3.708 MB / 416.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.3216, allocations: 9.625 kB / 416.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.3242, allocations: 434.5 kB / 417.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.3301, allocations: 1.854 MB / 419 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.3304, allocations: 201.3 kB / 419.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008163/0.3312, allocations: 271.9 kB / 419.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.3421, allocations: 3.525 MB / 423 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.3423, allocations: 4 kB / 423 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005248/0.3428, allocations: 108 kB / 423.1 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.3431, allocations: 121.3 kB / 423.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3532, allocations: 2.96 MB / 426.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0313/0.3846, allocations: 10.98 MB / 437.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.3895, allocations: 2.281 MB / 439.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.3932, allocations: 1.187 MB / 440.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.3937, allocations: 207.5 kB / 440.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.3937, allocations: 47.88 kB / 440.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 5.3e-06/0.3937, allocations: 0 / 440.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02665/0.4204, allocations: 7.505 MB / 448.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4205, allocations: 68.72 kB / 448.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.4232, allocations: 1.979 MB / 450.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.4233, allocations: 45.7 kB / 450.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008407/0.4241, allocations: 1.312 MB / 451.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.4245, allocations: 0.5045 MB / 452.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.425, allocations: 331.2 kB / 452.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.4251, allocations: 301.1 kB / 452.9 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4265, allocations: 0.8861 MB / 453.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4282, allocations: 1.372 MB / 455.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.4314, allocations: 2.382 MB / 457.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4314, allocations: 4 kB / 457.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005125/0.4366, allocations: 2.97 MB / 460.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4366, allocations: 15.94 kB / 460.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4366, allocations: 16 kB / 460.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.4377, allocations: 462.5 kB / 461 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.4393, allocations: 435.3 kB / 461.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.4456, allocations: 6.1 MB / 467.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4473, allocations: 123.8 kB / 467.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.4474, allocations: 79.98 kB / 467.7 MB, free: 1.926 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.001363/0.4488, allocations: 0.8447 MB / 468.5 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.4492, allocations: 217.4 kB / 468.8 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.4535, allocations: 2.576 MB / 471.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.4535, allocations: 16 kB / 471.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4535, allocations: 11.98 kB / 471.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4536, allocations: 11.98 kB / 471.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00873/0.4623, allocations: 5.627 MB / 477 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4623, allocations: 4 kB / 477 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.4635, allocations: 280.1 kB / 477.3 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.465, allocations: 0.4944 MB / 477.8 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4651, allocations: 39.97 kB / 477.8 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007455/0.4725, allocations: 7.661 MB / 485.5 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4726, allocations: 7.938 kB / 485.5 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.4797, allocations: 3.847 MB / 489.3 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.4814, allocations: 474.4 kB / 489.8 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.4819, allocations: 44.05 kB / 489.8 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.4839, allocations: 103.9 kB / 489.9 MB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.4843, allocations: 117 kB / 490 MB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.4845, allocations: 47.98 kB / 490.1 MB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003081/0.4876, allocations: 1.356 MB / 491.4 MB, free: 9.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4876, allocations: 0 / 491.4 MB, free: 9.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002861/0.4905, allocations: 0.5898 MB / 492 MB, free: 8.816 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.0004729/0.491, allocations: 218.3 kB / 492.2 MB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.4952, allocations: 2.616 MB / 494.9 MB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4952, allocations: 0 / 494.9 MB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003696/0.499, allocations: 1.619 MB / 496.5 MB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/0.5025, allocations: 491.1 kB / 497 MB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009953/0.5125, allocations: 5.653 MB / 0.4908 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.5149, allocations: 2.104 MB / 0.4929 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/0.5156, allocations: 151.4 kB / 0.493 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5156, allocations: 0 / 0.493 GB, free: 11.77 MB / 430.1 MB Notification: Performance of Templates: time 0.2572/0.7728, allocations: 75.83 MB / 0.5671 GB, free: 152.6 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