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.001879/0.00188, allocations: 107.6 kB / 17.15 MB, free: 6.309 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.001797/0.001797, allocations: 198 kB / 18.07 MB, free: 5.41 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.702/1.702, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001212/0.001212, allocations: 43.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 46.62 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01621/0.1598, allocations: 11.66 MB / 338.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.1726, allocations: 3.937 MB / 342.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005184/0.1779, allocations: 51.75 kB / 342.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.1836, allocations: 0.75 MB / 343 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007904/0.1915, allocations: 0.8858 MB / 343.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.1952, allocations: 483.5 kB / 344.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.2056, allocations: 3.865 MB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005385/0.2111, allocations: 2.236 MB / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.2151, allocations: 1.335 MB / 351.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/0.2202, allocations: 1.852 MB / 353.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.2223, allocations: 248 kB / 353.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.2256, allocations: 0.5034 MB / 354.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.2282, allocations: 0.9812 MB / 355.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004961/0.2332, allocations: 1.667 MB / 357 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.2423, allocations: 5.183 MB / 362.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.792e-05/0.2424, allocations: 4 kB / 362.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.2424, allocations: 0 / 362.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003334/0.2428, allocations: 0 / 362.2 MB, free: 1.062 MB / 302.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.01848/0.2612, allocations: 3.707 MB / 365.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.747e-05/0.2614, allocations: 12.03 kB / 365.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.2646, allocations: 432.7 kB / 366.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008067/0.2727, allocations: 1.84 MB / 368.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.2734, allocations: 213.3 kB / 368.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.2754, allocations: 264 kB / 368.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.2919, allocations: 3.525 MB / 372.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/0.2923, allocations: 7.891 kB / 372.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.2938, allocations: 112 kB / 372.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/0.2941, allocations: 117.3 kB / 372.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.3056, allocations: 2.968 MB / 375.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4131/0.7187, allocations: 11.09 MB / 386.5 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/0.7241, allocations: 2.28 MB / 388.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/0.7276, allocations: 1.185 MB / 390 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.7281, allocations: 205.6 kB / 390.2 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.593e-05/0.7282, allocations: 49.12 kB / 390.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 6.733e-06/0.7282, allocations: 0 / 390.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02403/0.7523, allocations: 7.486 MB / 397.7 MB, free: 40.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.7524, allocations: 64.53 kB / 397.8 MB, free: 40.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/0.7581, allocations: 1.978 MB / 399.7 MB, free: 39.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006404/0.7589, allocations: 52.14 kB / 399.8 MB, free: 39.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.7603, allocations: 1.316 MB / 401.1 MB, free: 37.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008641/0.7612, allocations: 0.4985 MB / 401.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.7619, allocations: 326.4 kB / 401.9 MB, free: 37.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.7622, allocations: 312.6 kB / 402.2 MB, free: 37.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.7639, allocations: 0.8745 MB / 403.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.7659, allocations: 1.381 MB / 404.5 MB, free: 35.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.77, allocations: 2.379 MB / 406.9 MB, free: 33.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.77, allocations: 3.594 kB / 406.9 MB, free: 33.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006481/0.7765, allocations: 2.974 MB / 409.8 MB, free: 31.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.7766, allocations: 12.62 kB / 409.8 MB, free: 31.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.445e-05/0.7767, allocations: 13.25 kB / 409.9 MB, free: 31.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.7781, allocations: 472.4 kB / 410.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.7797, allocations: 435.3 kB / 410.7 MB, free: 30.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.7868, allocations: 5.586 MB / 416.3 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/0.7901, allocations: 127.8 kB / 416.5 MB, free: 24.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003904/0.7905, allocations: 72 kB / 416.5 MB, free: 24.13 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.002671/0.7932, allocations: 0.8486 MB / 417.4 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.7942, allocations: 213.4 kB / 417.6 MB, free: 23.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004935/0.7992, allocations: 2.587 MB / 420.2 MB, free: 20.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.7992, allocations: 16 kB / 420.2 MB, free: 20.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/0.7993, allocations: 4 kB / 420.2 MB, free: 20.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.7993, allocations: 15.91 kB / 420.2 MB, free: 20.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.8146, allocations: 5.636 MB / 425.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.8147, allocations: 9.922 kB / 425.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.816, allocations: 287.5 kB / 426.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.8178, allocations: 0.4947 MB / 426.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/0.818, allocations: 39.98 kB / 426.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009222/0.8272, allocations: 7.03 MB / 433.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.8273, allocations: 4 kB / 433.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/0.8358, allocations: 3.857 MB / 437.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/0.8381, allocations: 478.4 kB / 438 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/0.8392, allocations: 35.98 kB / 438.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/0.8415, allocations: 99.89 kB / 438.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/0.842, allocations: 121 kB / 438.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.8422, allocations: 47.98 kB / 438.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004002/0.8462, allocations: 1.36 MB / 439.7 MB, free: 284 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8463, allocations: 0 / 439.7 MB, free: 284 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.004565/0.8508, allocations: 0.5813 MB / 440.3 MB, free: 15.7 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.001122/0.852, allocations: 227 kB / 440.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00704/0.8591, allocations: 2.593 MB / 443.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.8591, allocations: 10 kB / 443.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003897/0.863, allocations: 1.611 MB / 444.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/0.8686, allocations: 474.7 kB / 445.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.885, allocations: 6.852 MB / 452 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/0.8888, allocations: 2.136 MB / 454.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002663/0.8915, allocations: 475 kB / 454.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000855/0.8924, allocations: 135.4 kB / 454.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of SimCode: time 1.482e-06/0.8924, allocations: 0 / 454.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Templates: time 0.0666/0.959, allocations: 29.67 MB / 484.4 MB, free: 3.355 MB / 366.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","../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