Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002414/0.002419, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001074/0.001074, allocations: 78.67 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.021e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09446, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.5403, allocations: 104.7 MB / 473.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5407, allocations: 83.23 kB / 473.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2228/0.7635, allocations: 49.08 MB / 0.5107 GB, free: 4.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.919e-06/0.7636, allocations: 4 kB / 0.5107 GB, free: 4.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003059/0.7639, allocations: 67.81 kB / 0.5108 GB, free: 4.867 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.009677/0.7736, allocations: 2.464 MB / 0.5132 GB, free: 2.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7737, allocations: 8.031 kB / 0.5132 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.7757, allocations: 324.4 kB / 0.5135 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/0.7819, allocations: 1.729 MB / 0.5152 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.7822, allocations: 172.5 kB / 0.5153 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.7833, allocations: 235.9 kB / 0.5156 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009866/0.7932, allocations: 3.075 MB / 0.5186 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.7933, allocations: 11.89 kB / 0.5186 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/0.7938, allocations: 100 kB / 0.5187 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.7939, allocations: 96.44 kB / 0.5188 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008576/0.8025, allocations: 2.512 MB / 0.5212 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3045/1.107, allocations: 9.927 MB / 0.5309 GB, free: 99.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/1.112, allocations: 2.076 MB / 0.5329 GB, free: 98.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/1.115, allocations: 1.097 MB / 0.534 GB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005193/1.115, allocations: 137.8 kB / 0.5341 GB, free: 98.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.115, allocations: 53.69 kB / 0.5342 GB, free: 98.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.208e-06/1.115, allocations: 3.594 kB / 0.5342 GB, free: 98.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.0224/1.138, allocations: 6.273 MB / 0.5403 GB, free: 97.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.138, allocations: 66.47 kB / 0.5404 GB, free: 97.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/1.142, allocations: 1.452 MB / 0.5418 GB, free: 97.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004026/1.142, allocations: 51.09 kB / 0.5419 GB, free: 97.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/1.143, allocations: 1.013 MB / 0.5428 GB, free: 97.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/1.144, allocations: 498.5 kB / 0.5433 GB, free: 96.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/1.144, allocations: 31.75 kB / 0.5434 GB, free: 96.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/1.144, allocations: 371.6 kB / 0.5437 GB, free: 96.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.146, allocations: 0.8612 MB / 0.5445 GB, free: 96.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/1.149, allocations: 1.177 MB / 0.5457 GB, free: 96.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/1.151, allocations: 1.009 MB / 0.5467 GB, free: 96.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.151, allocations: 5.781 kB / 0.5467 GB, free: 96.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008253/1.16, allocations: 2.807 MB / 0.5494 GB, free: 95.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/1.16, allocations: 9.719 kB / 0.5494 GB, free: 95.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.16, allocations: 12.16 kB / 0.5494 GB, free: 95.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/1.163, allocations: 0.8371 MB / 0.5503 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/1.165, allocations: 315.2 kB / 0.5506 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.18, allocations: 9.064 MB / 0.5594 GB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/1.182, allocations: 101.8 kB / 0.5595 GB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/1.182, allocations: 57.7 kB / 0.5596 GB, free: 91.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000478/1.183, allocations: 198.9 kB / 0.5598 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.184, allocations: 183 kB / 0.5599 GB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007006/1.191, allocations: 2.794 MB / 0.5627 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.191, allocations: 15.66 kB / 0.5627 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.191, allocations: 7.75 kB / 0.5627 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.191, allocations: 7.641 kB / 0.5627 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.205, allocations: 5.582 MB / 0.5681 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.205, allocations: 3.781 kB / 0.5681 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.207, allocations: 205.6 kB / 0.5683 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003791/1.211, allocations: 0.8966 MB / 0.5692 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/1.211, allocations: 34.94 kB / 0.5693 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/1.227, allocations: 10.59 MB / 0.5796 GB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.227, allocations: 7.312 kB / 0.5796 GB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009589/1.236, allocations: 4.201 MB / 0.5837 GB, free: 77.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.238, allocations: 466.5 kB / 0.5842 GB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/1.239, allocations: 33.27 kB / 0.5842 GB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.24, allocations: 89.88 kB / 0.5843 GB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/1.241, allocations: 152.8 kB / 0.5844 GB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.241, allocations: 44.28 kB / 0.5845 GB, free: 77.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002262/1.243, allocations: 1.11 MB / 0.5855 GB, free: 77.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.243, allocations: 3.969 kB / 0.5855 GB, free: 77.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002737/1.246, allocations: 0.5889 MB / 0.5861 GB, free: 77.13 MB / 410.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00069/1.247, allocations: 292.6 kB / 0.5864 GB, free: 77.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006372/1.253, allocations: 2.905 MB / 0.5892 GB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.253, allocations: 3.562 kB / 0.5892 GB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004834/1.258, allocations: 1.999 MB / 0.5912 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.262, allocations: 484.5 kB / 0.5917 GB, free: 74.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.272, allocations: 4.299 MB / 0.5959 GB, free: 72.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/1.274, allocations: 2.042 MB / 0.5978 GB, free: 71.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.275, allocations: 122.5 kB / 0.598 GB, free: 71.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.275, allocations: 0 / 0.598 GB, free: 71.64 MB / 410.7 MB Notification: Performance of Templates: time 0.1277/1.403, allocations: 87.93 MB / 0.6838 GB, free: 7.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches