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.001832/0.001832, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.002063/0.002063, allocations: 183 kB / 18.67 MB, free: 4.406 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.995/1.995, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001336/0.001336, allocations: 51.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1598, allocations: 46.61 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.3776/0.5375, allocations: 11.75 MB / 386.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.5513, allocations: 3.984 MB / 390.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005412/0.5569, allocations: 56.06 kB / 390.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.5621, allocations: 0.8624 MB / 391.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007583/0.5697, allocations: 0.9745 MB / 392.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.5729, allocations: 0.5219 MB / 393.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.5832, allocations: 3.455 MB / 396.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007741/0.591, allocations: 2.669 MB / 399.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006095/0.5971, allocations: 1.538 MB / 401 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008207/0.6054, allocations: 1.927 MB / 402.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003561/0.609, allocations: 408.7 kB / 403.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.6143, allocations: 0.6487 MB / 403.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004336/0.6187, allocations: 1.143 MB / 405.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.6292, allocations: 1.841 MB / 406.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.647, allocations: 5.394 MB / 412.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.6471, allocations: 0 / 412.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.6471, allocations: 5.781 kB / 412.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005259/0.6476, allocations: 2.219 kB / 412.3 MB, free: 8.457 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.02444/0.6721, allocations: 3.785 MB / 416.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.406e-05/0.6722, allocations: 13.62 kB / 416.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.6766, allocations: 452.3 kB / 416.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00874/0.6854, allocations: 1.866 MB / 418.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/0.6859, allocations: 205.3 kB / 418.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.6877, allocations: 271.9 kB / 418.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.7096, allocations: 3.521 MB / 422.4 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/0.71, allocations: 4 kB / 422.4 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002249/0.7123, allocations: 104 kB / 422.5 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000467/0.7128, allocations: 125.2 kB / 422.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.7286, allocations: 2.968 MB / 425.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05167/0.7804, allocations: 11.01 MB / 436.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.7858, allocations: 2.28 MB / 438.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.7892, allocations: 1.176 MB / 440.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/0.7898, allocations: 212.2 kB / 440.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.79, allocations: 47.88 kB / 440.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 7.464e-06/0.79, allocations: 0 / 440.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02295/0.813, allocations: 7.541 MB / 447.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.8131, allocations: 72.66 kB / 447.9 MB, free: 5.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.8187, allocations: 1.979 MB / 449.9 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.819, allocations: 45.7 kB / 450 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.8205, allocations: 1.346 MB / 451.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008111/0.8213, allocations: 0.5307 MB / 451.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009165/0.8223, allocations: 331.4 kB / 452.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8224, allocations: 301.1 kB / 452.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.8243, allocations: 0.8901 MB / 453.4 MB, free: 412 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.8267, allocations: 1.376 MB / 454.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.831, allocations: 2.374 MB / 457.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.831, allocations: 4 kB / 457.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006296/0.8373, allocations: 2.983 MB / 460.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.8374, allocations: 15.94 kB / 460.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.8374, allocations: 16.38 kB / 460.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.8388, allocations: 466.2 kB / 460.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.8404, allocations: 431.3 kB / 461 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/0.8477, allocations: 6.101 MB / 467.1 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.8505, allocations: 131.9 kB / 467.2 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.8508, allocations: 72 kB / 467.3 MB, free: 1.711 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.002126/0.8529, allocations: 0.8447 MB / 468.1 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008408/0.8537, allocations: 230.6 kB / 468.4 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/0.8593, allocations: 2.576 MB / 470.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/0.8594, allocations: 23.98 kB / 471 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.8594, allocations: 8 kB / 471 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.8594, allocations: 3.984 kB / 471 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.8726, allocations: 5.627 MB / 476.6 MB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.8727, allocations: 4 kB / 476.6 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.8739, allocations: 292 kB / 476.9 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.8755, allocations: 494.4 kB / 477.4 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.8757, allocations: 43.97 kB / 477.4 MB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008777/0.8845, allocations: 7.673 MB / 485.1 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.8845, allocations: 7.984 kB / 485.1 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009017/0.8936, allocations: 3.86 MB / 489 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/0.8956, allocations: 487.5 kB / 489.4 MB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/0.8969, allocations: 36 kB / 489.5 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/0.8991, allocations: 107.8 kB / 489.6 MB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.8995, allocations: 117 kB / 489.7 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.8997, allocations: 51.98 kB / 489.7 MB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003624/0.9033, allocations: 1.356 MB / 491.1 MB, free: 9.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/0.9033, allocations: 0 / 491.1 MB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004175/0.9075, allocations: 0.5859 MB / 491.7 MB, free: 8.559 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.0008269/0.9084, allocations: 222.2 kB / 491.9 MB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005516/0.9139, allocations: 2.612 MB / 494.5 MB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/0.914, allocations: 4.062 kB / 494.5 MB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.917, allocations: 1.611 MB / 496.1 MB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.9214, allocations: 499.7 kB / 496.6 MB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.9355, allocations: 5.711 MB / 0.4906 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/0.9393, allocations: 2.132 MB / 0.4926 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002681/0.942, allocations: 469 kB / 0.4931 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/0.9429, allocations: 143.4 kB / 0.4932 GB, free: 10.97 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.9429, allocations: 0 / 0.4932 GB, free: 10.97 MB / 430.1 MB Notification: Performance of Templates: time 0.06858/1.012, allocations: 31.49 MB / 0.524 GB, free: 11.42 MB / 462.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/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) Reference file matches