Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001454/0.001453, allocations: 179 kB / 8.364 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 84.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.036e-05, allocations: 0 / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 47.58 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.5235, allocations: 113.8 MB / 476.2 MB, free: 4.43 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.5239, allocations: 87.8 kB / 476.2 MB, free: 4.348 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.629/1.153, allocations: 84.91 MB / 0.548 GB, free: 92.93 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.615e-06/1.153, allocations: 3.781 kB / 0.548 GB, free: 92.93 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003436/1.153, allocations: 72.75 kB / 0.5481 GB, free: 92.91 MB / 395.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.01062/1.164, allocations: 2.796 MB / 0.5508 GB, free: 91.1 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.164, allocations: 11 kB / 0.5508 GB, free: 91.09 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.167, allocations: 440.2 kB / 0.5512 GB, free: 90.89 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/1.173, allocations: 1.946 MB / 0.5531 GB, free: 89.25 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.174, allocations: 88 kB / 0.5532 GB, free: 89.16 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009656/1.175, allocations: 159.9 kB / 0.5534 GB, free: 89.01 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007687/1.182, allocations: 2.541 MB / 0.5559 GB, free: 86.46 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/1.193, allocations: 3.02 MB / 0.5588 GB, free: 83.3 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/1.193, allocations: 15.83 kB / 0.5588 GB, free: 83.28 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008618/1.194, allocations: 4 kB / 0.5588 GB, free: 83.28 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.194, allocations: 113.3 kB / 0.5589 GB, free: 83.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02889/1.223, allocations: 10.72 MB / 0.5694 GB, free: 72.22 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/1.227, allocations: 2.222 MB / 0.5716 GB, free: 69.83 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.229, allocations: 0.9425 MB / 0.5725 GB, free: 68.89 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/1.23, allocations: 219.4 kB / 0.5727 GB, free: 68.64 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.23, allocations: 51.88 kB / 0.5727 GB, free: 68.58 MB / 395.1 MB Notification: Performance of pre-optimization done (n=136): time 4.599e-06/1.23, allocations: 0 / 0.5727 GB, free: 68.58 MB / 395.1 MB Notification: Performance of matching and sorting (n=159): time 0.01774/1.247, allocations: 5.704 MB / 0.5783 GB, free: 62.84 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.248, allocations: 72.72 kB / 0.5784 GB, free: 62.76 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/1.251, allocations: 1.454 MB / 0.5798 GB, free: 61.3 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003701/1.251, allocations: 25.7 kB / 0.5798 GB, free: 61.27 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/1.252, allocations: 1.237 MB / 0.581 GB, free: 60.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/1.253, allocations: 0.5273 MB / 0.5816 GB, free: 59.49 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.253, allocations: 0 / 0.5816 GB, free: 59.49 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/1.253, allocations: 378.8 kB / 0.5819 GB, free: 59.11 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.255, allocations: 0.8473 MB / 0.5827 GB, free: 58.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/1.257, allocations: 1.303 MB / 0.584 GB, free: 56.77 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/1.259, allocations: 1.052 MB / 0.585 GB, free: 55.72 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/1.259, allocations: 4 kB / 0.585 GB, free: 55.72 MB / 395.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.007203/1.267, allocations: 2.721 MB / 0.5877 GB, free: 52.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.267, allocations: 16.03 kB / 0.5877 GB, free: 52.97 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.526e-05/1.267, allocations: 16 kB / 0.5877 GB, free: 52.95 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.269, allocations: 0.6155 MB / 0.5883 GB, free: 52.33 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/1.273, allocations: 443.3 kB / 0.5888 GB, free: 51.9 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.283, allocations: 5.471 MB / 0.5941 GB, free: 46.31 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/1.286, allocations: 95.88 kB / 0.5942 GB, free: 46.22 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/1.287, allocations: 80.05 kB / 0.5943 GB, free: 46.14 MB / 395.1 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.0004523/1.287, allocations: 156.3 kB / 0.5944 GB, free: 45.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006394/1.288, allocations: 197.6 kB / 0.5946 GB, free: 45.79 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/1.295, allocations: 2.583 MB / 0.5971 GB, free: 43.18 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.295, allocations: 16 kB / 0.5971 GB, free: 43.17 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.295, allocations: 8 kB / 0.5971 GB, free: 43.16 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/1.295, allocations: 7.969 kB / 0.5972 GB, free: 43.15 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.31, allocations: 5.284 MB / 0.6023 GB, free: 37.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/1.31, allocations: 8.062 kB / 0.6023 GB, free: 37.81 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.312, allocations: 283.6 kB / 0.6026 GB, free: 37.53 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/1.316, allocations: 0.6773 MB / 0.6033 GB, free: 36.85 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005337/1.317, allocations: 27.92 kB / 0.6033 GB, free: 36.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/1.338, allocations: 7.137 MB / 0.6103 GB, free: 29.45 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/1.338, allocations: 8.25 kB / 0.6103 GB, free: 29.44 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/1.353, allocations: 3.985 MB / 0.6142 GB, free: 25.35 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.356, allocations: 482.5 kB / 0.6146 GB, free: 24.86 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.357, allocations: 23.97 kB / 0.6146 GB, free: 24.84 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.36, allocations: 91.88 kB / 0.6147 GB, free: 24.75 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/1.361, allocations: 121.1 kB / 0.6148 GB, free: 24.62 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.362, allocations: 47.98 kB / 0.6149 GB, free: 24.58 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.003403/1.365, allocations: 1.097 MB / 0.616 GB, free: 23.49 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.41e-07/1.365, allocations: 0 / 0.616 GB, free: 23.49 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003598/1.369, allocations: 0.5703 MB / 0.6165 GB, free: 22.92 MB / 395.1 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.0009498/1.37, allocations: 335.7 kB / 0.6168 GB, free: 22.61 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006314/1.376, allocations: 2.557 MB / 0.6193 GB, free: 20.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.376, allocations: 0.5 kB / 0.6193 GB, free: 20.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004512/1.381, allocations: 1.609 MB / 0.6209 GB, free: 18.38 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.384, allocations: 349.7 kB / 0.6212 GB, free: 18.04 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.396, allocations: 4.579 MB / 0.6257 GB, free: 13.39 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.399, allocations: 2.17 MB / 0.6278 GB, free: 11.18 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.4, allocations: 135.4 kB / 0.628 GB, free: 11.05 MB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/1.4, allocations: 0 / 0.628 GB, free: 11.05 MB / 395.1 MB Notification: Performance of Templates: time 0.3915/1.791, allocations: 58.74 MB / 0.6853 GB, free: 93.2 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches