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.001437/0.001437, allocations: 178.6 kB / 8.697 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 86.7 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.593e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.077, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.3894, allocations: 114 MB / 477.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3897, allocations: 85.83 kB / 477.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4064/0.7961, allocations: 84.9 MB / 0.5489 GB, free: 90.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7961, allocations: 3.719 kB / 0.5489 GB, free: 90.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003014/0.7964, allocations: 70.89 kB / 0.549 GB, free: 90.93 MB / 410.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.007252/0.8037, allocations: 2.792 MB / 0.5517 GB, free: 89.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.8037, allocations: 11.75 kB / 0.5517 GB, free: 89.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.8058, allocations: 442.9 kB / 0.5522 GB, free: 89.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.8097, allocations: 1.948 MB / 0.5541 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.8098, allocations: 90.25 kB / 0.5541 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/0.8105, allocations: 157 kB / 0.5543 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004173/0.8147, allocations: 2.537 MB / 0.5568 GB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/0.8191, allocations: 3.018 MB / 0.5597 GB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.8192, allocations: 3.906 kB / 0.5597 GB, free: 88.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.8194, allocations: 6.25 kB / 0.5597 GB, free: 88.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.8195, allocations: 115.3 kB / 0.5598 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.8332, allocations: 10.72 MB / 0.5703 GB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.8352, allocations: 2.221 MB / 0.5725 GB, free: 85.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.8363, allocations: 0.9428 MB / 0.5734 GB, free: 85.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.8367, allocations: 227.9 kB / 0.5736 GB, free: 84.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.8367, allocations: 55.22 kB / 0.5737 GB, free: 84.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=136): time 3.897e-06/0.8367, allocations: 0 / 0.5737 GB, free: 84.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.009671/0.8464, allocations: 5.704 MB / 0.5792 GB, free: 82.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.8465, allocations: 74.62 kB / 0.5793 GB, free: 82.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.8484, allocations: 1.455 MB / 0.5807 GB, free: 82.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.8485, allocations: 25.7 kB / 0.5808 GB, free: 82.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/0.8491, allocations: 1.305 MB / 0.582 GB, free: 81.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.8494, allocations: 0.5154 MB / 0.5825 GB, free: 80.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.8495, allocations: 0 / 0.5825 GB, free: 80.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.8496, allocations: 375.5 kB / 0.5829 GB, free: 80.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.8506, allocations: 0.8498 MB / 0.5837 GB, free: 79.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.8516, allocations: 1.293 MB / 0.585 GB, free: 79.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.8529, allocations: 1.059 MB / 0.586 GB, free: 78.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.8529, allocations: 3.938 kB / 0.586 GB, free: 78.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003754/0.8566, allocations: 2.833 MB / 0.5888 GB, free: 77.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.8567, allocations: 17.52 kB / 0.5888 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.8567, allocations: 21.66 kB / 0.5888 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.858, allocations: 0.6116 MB / 0.5894 GB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.8594, allocations: 435.5 kB / 0.5898 GB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.8652, allocations: 5.486 MB / 0.5952 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.8667, allocations: 93.64 kB / 0.5953 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.8669, allocations: 82.39 kB / 0.5954 GB, free: 74.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * 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.0002591/0.8671, allocations: 154.1 kB / 0.5955 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.8674, allocations: 198.1 kB / 0.5957 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.8711, allocations: 2.574 MB / 0.5982 GB, free: 73.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8712, allocations: 18.59 kB / 0.5982 GB, free: 73.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8712, allocations: 15.14 kB / 0.5982 GB, free: 73.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.8712, allocations: 9.234 kB / 0.5983 GB, free: 73.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/0.8785, allocations: 5.281 MB / 0.6034 GB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.8786, allocations: 288 / 0.6034 GB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8796, allocations: 293.8 kB / 0.6037 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.8812, allocations: 0.6753 MB / 0.6044 GB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.8813, allocations: 19.62 kB / 0.6044 GB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.8879, allocations: 7.147 MB / 0.6114 GB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8879, allocations: 8 kB / 0.6114 GB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.8925, allocations: 3.981 MB / 0.6152 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/0.8934, allocations: 483 kB / 0.6157 GB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.8936, allocations: 11.8 kB / 0.6157 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8947, allocations: 92.77 kB / 0.6158 GB, free: 61.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.895, allocations: 120.1 kB / 0.6159 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.8951, allocations: 47.42 kB / 0.616 GB, free: 61.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.8963, allocations: 1.097 MB / 0.617 GB, free: 60.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8964, allocations: 0 / 0.617 GB, free: 60.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001826/0.8982, allocations: 0.5662 MB / 0.6176 GB, free: 59.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004789/0.8987, allocations: 342.8 kB / 0.6179 GB, free: 59.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003436/0.9021, allocations: 2.561 MB / 0.6204 GB, free: 56.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9021, allocations: 5.312 kB / 0.6204 GB, free: 56.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.9043, allocations: 1.602 MB / 0.622 GB, free: 55.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.9063, allocations: 358 kB / 0.6223 GB, free: 55.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.9128, allocations: 4.533 MB / 0.6268 GB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.9142, allocations: 2.204 MB / 0.6289 GB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001331/0.9156, allocations: 437.8 kB / 0.6293 GB, free: 49.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.916, allocations: 126.1 kB / 0.6294 GB, free: 49.04 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.916, allocations: 3.938 kB / 0.6295 GB, free: 49.04 MB / 410.7 MB Notification: Performance of Templates: time 0.03853/0.9545, allocations: 27.21 MB / 0.656 GB, free: 25.15 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