Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008719, allocations: 93.84 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002715, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2796, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4217, allocations: 104.2 MB / 0.4939 GB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.4221, allocations: 87.95 kB / 0.494 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3601/0.7822, allocations: 44.66 MB / 0.5376 GB, free: 76.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7822, allocations: 0 / 0.5376 GB, free: 76.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001337/0.7824, allocations: 55.88 kB / 0.5376 GB, free: 76.6 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004301/0.7867, allocations: 2.448 MB / 0.54 GB, free: 74.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7867, allocations: 8.031 kB / 0.54 GB, free: 74.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000699/0.7875, allocations: 296.8 kB / 0.5403 GB, free: 73.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.7901, allocations: 1.554 MB / 0.5418 GB, free: 72.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/0.7902, allocations: 148 kB / 0.542 GB, free: 72.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.7904, allocations: 203.9 kB / 0.5422 GB, free: 71.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/0.7941, allocations: 2.699 MB / 0.5448 GB, free: 68.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.7942, allocations: 7.938 kB / 0.5448 GB, free: 68.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.7944, allocations: 91.97 kB / 0.5449 GB, free: 68.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/0.7944, allocations: 87.94 kB / 0.545 GB, free: 68.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.7976, allocations: 2.225 MB / 0.5472 GB, free: 66.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.81, allocations: 8.438 MB / 0.5554 GB, free: 57.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.8118, allocations: 1.814 MB / 0.5572 GB, free: 55.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.812, allocations: 142 kB / 0.5573 GB, free: 55.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8121, allocations: 43.56 kB / 0.5574 GB, free: 55.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 4.198e-06/0.8121, allocations: 3.984 kB / 0.5574 GB, free: 55.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01125/0.8233, allocations: 6.328 MB / 0.5635 GB, free: 49.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.8234, allocations: 64.41 kB / 0.5636 GB, free: 49.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.8252, allocations: 1.325 MB / 0.5649 GB, free: 47.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.8253, allocations: 45.7 kB / 0.5649 GB, free: 47.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.8258, allocations: 0.9758 MB / 0.5659 GB, free: 46.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.8261, allocations: 425.8 kB / 0.5663 GB, free: 46.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.8261, allocations: 32 kB / 0.5663 GB, free: 46.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.8262, allocations: 353.9 kB / 0.5667 GB, free: 46.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.8271, allocations: 0.7495 MB / 0.5674 GB, free: 45.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.8281, allocations: 1.046 MB / 0.5684 GB, free: 44.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8292, allocations: 0.8886 MB / 0.5693 GB, free: 43.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8292, allocations: 4 kB / 0.5693 GB, free: 43.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003211/0.8324, allocations: 2.372 MB / 0.5716 GB, free: 40.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.8325, allocations: 12.25 kB / 0.5716 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8325, allocations: 12 kB / 0.5716 GB, free: 40.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008578/0.8334, allocations: 407.1 kB / 0.572 GB, free: 40.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.8345, allocations: 343.5 kB / 0.5723 GB, free: 40.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.8382, allocations: 4.728 MB / 0.577 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.8395, allocations: 99.92 kB / 0.5771 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.8397, allocations: 55.98 kB / 0.5771 GB, free: 34.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001356/0.841, allocations: 0.6954 MB / 0.5778 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.8414, allocations: 166 kB / 0.578 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.8461, allocations: 2.196 MB / 0.5801 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.8462, allocations: 15.95 kB / 0.5801 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.8462, allocations: 11.98 kB / 0.5801 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.8462, allocations: 3.984 kB / 0.5801 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.8574, allocations: 4.59 MB / 0.5846 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.8575, allocations: 0 / 0.5846 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.859, allocations: 239.7 kB / 0.5848 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.8607, allocations: 471 kB / 0.5853 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.8609, allocations: 31.98 kB / 0.5853 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.8679, allocations: 6.296 MB / 0.5915 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8679, allocations: 7.938 kB / 0.5915 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/0.8748, allocations: 3.389 MB / 0.5948 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.8764, allocations: 403 kB / 0.5952 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.8767, allocations: 35.98 kB / 0.5952 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.878, allocations: 83.92 kB / 0.5953 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.8784, allocations: 112.7 kB / 0.5954 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8785, allocations: 39.98 kB / 0.5954 GB, free: 15.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002057/0.8806, allocations: 1.02 MB / 0.5964 GB, free: 14.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8806, allocations: 0 / 0.5964 GB, free: 14.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002393/0.883, allocations: 499.9 kB / 0.5969 GB, free: 14.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000625/0.8837, allocations: 292.9 kB / 0.5972 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004331/0.888, allocations: 2.309 MB / 0.5994 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.888, allocations: 0 / 0.5994 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.8909, allocations: 1.523 MB / 0.6009 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.8938, allocations: 414.9 kB / 0.6013 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/0.9038, allocations: 5.334 MB / 0.6065 GB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.9054, allocations: 1.865 MB / 0.6083 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001847/0.9073, allocations: 397.5 kB / 0.6087 GB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.9078, allocations: 111.4 kB / 0.6088 GB, free: 1.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.9078, allocations: 0 / 0.6088 GB, free: 1.562 MB / 378.7 MB Notification: Performance of Templates: time 0.05512/0.9629, allocations: 25.72 MB / 0.634 GB, free: 8.082 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches