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.001179/0.001179, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001283/0.001283, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.696/1.696, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001468/0.001469, allocations: 43.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 46.64 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01517/0.1406, allocations: 11.75 MB / 340.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1523, allocations: 3.971 MB / 344.4 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/0.1567, allocations: 59.75 kB / 344.5 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.1602, allocations: 0.8501 MB / 345.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.1663, allocations: 0.9783 MB / 346.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1686, allocations: 0.5266 MB / 346.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007258/0.1759, allocations: 3.468 MB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.1803, allocations: 2.676 MB / 353 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.1836, allocations: 1.526 MB / 354.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.1881, allocations: 1.934 MB / 356.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.19, allocations: 408 kB / 356.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.1929, allocations: 0.6402 MB / 357.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.1945, allocations: 1.153 MB / 358.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004023/0.1986, allocations: 1.835 MB / 360.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007802/0.2064, allocations: 5.366 MB / 365.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.665e-05/0.2065, allocations: 0 / 365.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.2065, allocations: 3.938 kB / 365.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000232/0.2068, allocations: 0 / 365.9 MB, free: 14.4 MB / 318.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.01393/0.2207, allocations: 3.703 MB / 369.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.2208, allocations: 11.97 kB / 369.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.2226, allocations: 432.7 kB / 370 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.2275, allocations: 1.856 MB / 371.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.2277, allocations: 213.3 kB / 372.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007562/0.2285, allocations: 264 kB / 372.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007482/0.236, allocations: 3.517 MB / 375.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-05/0.2361, allocations: 11.89 kB / 375.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.2364, allocations: 112 kB / 376 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.2366, allocations: 117.3 kB / 376.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.2427, allocations: 2.96 MB / 379 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3027/0.5455, allocations: 10.98 MB / 390 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.549, allocations: 2.281 MB / 392.3 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.5516, allocations: 1.184 MB / 393.5 MB, free: 43.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.552, allocations: 213.2 kB / 393.7 MB, free: 43.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.552, allocations: 45 kB / 393.7 MB, free: 43.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.815e-06/0.552, allocations: 3.938 kB / 393.7 MB, free: 43.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01864/0.5707, allocations: 7.478 MB / 401.2 MB, free: 39.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.5708, allocations: 70.28 kB / 401.3 MB, free: 39.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.5744, allocations: 1.984 MB / 403.3 MB, free: 38.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.5746, allocations: 45.45 kB / 403.3 MB, free: 38.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/0.5754, allocations: 1.312 MB / 404.6 MB, free: 37.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.5759, allocations: 0.5091 MB / 405.1 MB, free: 36.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.5765, allocations: 326.4 kB / 405.4 MB, free: 36.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.5766, allocations: 301.1 kB / 405.7 MB, free: 36.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.578, allocations: 0.8827 MB / 406.6 MB, free: 35.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.5798, allocations: 1.375 MB / 408 MB, free: 34.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.5828, allocations: 2.385 MB / 410.4 MB, free: 31.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.5829, allocations: 8 kB / 410.4 MB, free: 31.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004408/0.5873, allocations: 2.966 MB / 413.4 MB, free: 28.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5873, allocations: 15.98 kB / 413.4 MB, free: 28.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.5874, allocations: 15.94 kB / 413.4 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.5884, allocations: 461 kB / 413.8 MB, free: 28.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.5898, allocations: 427.3 kB / 414.3 MB, free: 27.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.5962, allocations: 6.115 MB / 420.4 MB, free: 21.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.5989, allocations: 115.9 kB / 420.5 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.5992, allocations: 75.98 kB / 420.6 MB, free: 21.35 MB / 318.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.002228/0.6014, allocations: 0.8563 MB / 421.4 MB, free: 20.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009911/0.6024, allocations: 209.4 kB / 421.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/0.6078, allocations: 2.584 MB / 424.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/0.6079, allocations: 19.94 kB / 424.2 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6079, allocations: 4 kB / 424.2 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.6079, allocations: 7.969 kB / 424.2 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.6197, allocations: 5.625 MB / 429.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.6197, allocations: 11.98 kB / 429.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.6212, allocations: 276.6 kB / 430.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.623, allocations: 498.3 kB / 430.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6231, allocations: 35.98 kB / 430.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/0.6317, allocations: 7.679 MB / 438.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6317, allocations: 7.938 kB / 438.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008708/0.6404, allocations: 3.843 MB / 442.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/0.6424, allocations: 482.4 kB / 442.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007631/0.6432, allocations: 35.98 kB / 442.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6449, allocations: 99.89 kB / 442.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.6453, allocations: 125 kB / 442.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.6454, allocations: 43.98 kB / 443 MB, free: 14.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00407/0.6495, allocations: 1.359 MB / 444.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6495, allocations: 0 / 444.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004426/0.654, allocations: 0.5831 MB / 444.9 MB, free: 12.3 MB / 334.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.0009233/0.6549, allocations: 223.7 kB / 445.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006775/0.6617, allocations: 2.613 MB / 447.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.6618, allocations: 4 kB / 447.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003904/0.6657, allocations: 1.62 MB / 449.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.6696, allocations: 497 kB / 449.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.6853, allocations: 5.609 MB / 455.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002851/0.6882, allocations: 2.143 MB / 457.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0024/0.6907, allocations: 469 kB / 458.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.6914, allocations: 139.4 kB / 458.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6914, allocations: 0 / 458.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.06049/0.7519, allocations: 30.93 MB / 489.1 MB, free: 15.9 MB / 382.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 -s cvode -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