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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008773, allocations: 100.1 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2618, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.3999, allocations: 114.6 MB / 490.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4003, allocations: 91.94 kB / 490.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6993/1.1, allocations: 85.89 MB / 0.5628 GB, free: 54.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.536e-06/1.1, allocations: 0 / 0.5628 GB, free: 54.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006304/1.1, allocations: 75.88 kB / 0.5629 GB, free: 54.43 MB / 378.7 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.01996/1.12, allocations: 3.173 MB / 0.566 GB, free: 51.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.45e-05/1.121, allocations: 8.031 kB / 0.566 GB, free: 51.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/1.126, allocations: 447.8 kB / 0.5665 GB, free: 50.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/1.138, allocations: 1.961 MB / 0.5684 GB, free: 48.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/1.138, allocations: 205.4 kB / 0.5686 GB, free: 48.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/1.14, allocations: 267.9 kB / 0.5688 GB, free: 48.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/1.159, allocations: 3.506 MB / 0.5722 GB, free: 44.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/1.16, allocations: 4 kB / 0.5722 GB, free: 44.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/1.162, allocations: 116 kB / 0.5724 GB, free: 44.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/1.162, allocations: 117.2 kB / 0.5725 GB, free: 44.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/1.176, allocations: 2.855 MB / 0.5753 GB, free: 41.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04261/1.218, allocations: 11.26 MB / 0.5862 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005601/1.224, allocations: 2.331 MB / 0.5885 GB, free: 27.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/1.225, allocations: 223.5 kB / 0.5887 GB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.328e-05/1.225, allocations: 43.88 kB / 0.5888 GB, free: 27.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 9.087e-06/1.225, allocations: 4 kB / 0.5888 GB, free: 27.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.03547/1.261, allocations: 8.731 MB / 0.5973 GB, free: 18.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.261, allocations: 68.72 kB / 0.5974 GB, free: 18.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007818/1.269, allocations: 1.743 MB / 0.5991 GB, free: 16.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/1.269, allocations: 53.64 kB / 0.5991 GB, free: 16.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.271, allocations: 1.3 MB / 0.6004 GB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.272, allocations: 0.5275 MB / 0.6009 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.273, allocations: 36 kB / 0.6009 GB, free: 14.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/1.273, allocations: 385.8 kB / 0.6013 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/1.276, allocations: 0.9486 MB / 0.6022 GB, free: 13.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/1.279, allocations: 1.399 MB / 0.6036 GB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/1.283, allocations: 1.154 MB / 0.6047 GB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/1.283, allocations: 4 kB / 0.6047 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01037/1.293, allocations: 3.168 MB / 0.6078 GB, free: 7.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/1.293, allocations: 12 kB / 0.6078 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.244e-05/1.293, allocations: 12 kB / 0.6079 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/1.296, allocations: 0.6308 MB / 0.6085 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/1.3, allocations: 443.3 kB / 0.6089 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/1.314, allocations: 5.94 MB / 0.6147 GB, free: 0 / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/1.319, allocations: 135.9 kB / 0.6148 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008594/1.319, allocations: 79.92 kB / 0.6149 GB, free: 15.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004669/1.324, allocations: 0.8579 MB / 0.6157 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/1.326, allocations: 209.5 kB / 0.6159 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.337, allocations: 2.854 MB / 0.6187 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/1.337, allocations: 16 kB / 0.6187 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.337, allocations: 8 kB / 0.6187 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/1.337, allocations: 7.969 kB / 0.6188 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/1.356, allocations: 5.857 MB / 0.6245 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/1.356, allocations: 4 kB / 0.6245 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.357, allocations: 283.8 kB / 0.6248 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.36, allocations: 0.6886 MB / 0.6254 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/1.36, allocations: 35.98 kB / 0.6255 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.372, allocations: 7.719 MB / 0.633 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/1.372, allocations: 7.938 kB / 0.633 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008664/1.381, allocations: 4.252 MB / 0.6372 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.383, allocations: 0.4906 MB / 0.6376 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/1.383, allocations: 32 kB / 0.6377 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.385, allocations: 115.9 kB / 0.6378 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/1.385, allocations: 125.1 kB / 0.6379 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.385, allocations: 52.48 kB / 0.6379 GB, free: 7.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002468/1.388, allocations: 1.336 MB / 0.6393 GB, free: 6.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.388, allocations: 0 / 0.6393 GB, free: 6.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00315/1.391, allocations: 0.6835 MB / 0.6399 GB, free: 5.605 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.392, allocations: 328.1 kB / 0.6402 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00579/1.398, allocations: 2.805 MB / 0.643 GB, free: 2.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.398, allocations: 4 kB / 0.643 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003365/1.401, allocations: 1.738 MB / 0.6447 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.404, allocations: 450.9 kB / 0.6451 GB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2462/1.65, allocations: 6.729 MB / 0.6517 GB, free: 91.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.652, allocations: 2.205 MB / 0.6538 GB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001822/1.654, allocations: 451.9 kB / 0.6543 GB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/1.654, allocations: 132.2 kB / 0.6544 GB, free: 90.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.654, allocations: 2.969 kB / 0.6544 GB, free: 90.55 MB / 410.7 MB Notification: Performance of Templates: time 0.06609/1.72, allocations: 33.87 MB / 0.6875 GB, free: 88.91 MB / 410.7 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