Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 109.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 188.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.3362/0.4654, allocations: 9.757 MB / 384.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009037/0.4745, allocations: 3.146 MB / 388.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.477, allocations: 43.81 kB / 388.1 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.4795, allocations: 0.6737 MB / 388.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.4842, allocations: 0.8202 MB / 389.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.4857, allocations: 386.8 kB / 390 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006268/0.492, allocations: 3.095 MB / 393.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/0.4963, allocations: 2.391 MB / 395.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.5004, allocations: 1.38 MB / 396.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.5053, allocations: 1.682 MB / 398.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.5064, allocations: 363 kB / 398.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.5085, allocations: 448.1 kB / 399.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.5101, allocations: 1.002 MB / 400.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003399/0.5135, allocations: 1.598 MB / 401.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.5217, allocations: 4.714 MB / 406.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.5217, allocations: 3.938 kB / 406.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5217, allocations: 4 kB / 406.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000145/0.5219, allocations: 0 / 406.6 MB, free: 12.73 MB / 334.1 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.01018/0.5321, allocations: 3.22 MB / 409.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/0.5322, allocations: 8.5 kB / 409.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5335, allocations: 322.1 kB / 410.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.5369, allocations: 1.632 MB / 411.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.5371, allocations: 181.7 kB / 412 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004358/0.5375, allocations: 229.6 kB / 412.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006995/0.5445, allocations: 3.19 MB / 415.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/0.5446, allocations: 7.906 kB / 415.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.5449, allocations: 91.94 kB / 415.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.545, allocations: 106.2 kB / 415.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.5501, allocations: 2.746 MB / 418.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.5685, allocations: 9.762 MB / 428.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.5714, allocations: 2.099 MB / 430.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.5735, allocations: 1.21 MB / 431.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.5739, allocations: 122.1 kB / 431.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.5739, allocations: 44.22 kB / 431.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.978e-06/0.5739, allocations: 0 / 431.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01893/0.5929, allocations: 7.993 MB / 439.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.593, allocations: 68.72 kB / 439.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.5958, allocations: 1.676 MB / 441.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.5959, allocations: 49.7 kB / 441.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.5968, allocations: 1.093 MB / 442.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.5972, allocations: 492.9 kB / 442.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.5977, allocations: 291.4 kB / 443.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5978, allocations: 305.1 kB / 443.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.5993, allocations: 0.9057 MB / 444.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.6009, allocations: 1.267 MB / 445.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.604, allocations: 2.25 MB / 447.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.604, allocations: 4 kB / 447.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005607/0.6096, allocations: 3.044 MB / 451 MB, free: 2.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6097, allocations: 12.44 kB / 451 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6097, allocations: 12 kB / 451 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.6117, allocations: 0.844 MB / 451.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6129, allocations: 307.5 kB / 452.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.6243, allocations: 9.913 MB / 462.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.6265, allocations: 91.84 kB / 462.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.6266, allocations: 63.98 kB / 462.2 MB, free: 6.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002014/0.6286, allocations: 0.8104 MB / 463 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.6292, allocations: 185.7 kB / 463.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.6344, allocations: 2.842 MB / 466.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.6344, allocations: 16 kB / 466.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6344, allocations: 8 kB / 466.1 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.6345, allocations: 7.969 kB / 466.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.645, allocations: 5.664 MB / 471.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6451, allocations: 4 kB / 471.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.646, allocations: 187.8 kB / 471.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/0.6483, allocations: 0.8979 MB / 472.8 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.6484, allocations: 35.98 kB / 472.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.6617, allocations: 11.52 MB / 484.4 MB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.6618, allocations: 7.938 kB / 484.4 MB, free: 52 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/0.6692, allocations: 4.134 MB / 488.5 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.6709, allocations: 466.7 kB / 489 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.6712, allocations: 36 kB / 489 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6722, allocations: 79.91 kB / 489.1 MB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/0.6727, allocations: 145 kB / 489.2 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.6728, allocations: 39.98 kB / 489.3 MB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.6749, allocations: 1.153 MB / 490.4 MB, free: 9.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6749, allocations: 4 kB / 490.4 MB, free: 9.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002484/0.6774, allocations: 0.5586 MB / 491 MB, free: 9.371 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005176/0.6779, allocations: 199.3 kB / 491.2 MB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.6831, allocations: 3.001 MB / 494.2 MB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6832, allocations: 5.875 kB / 494.2 MB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.6868, allocations: 2.033 MB / 496.2 MB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/0.6905, allocations: 0.5002 MB / 496.7 MB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.7005, allocations: 5.157 MB / 0.4901 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.7025, allocations: 2.02 MB / 0.4921 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001524/0.704, allocations: 407.3 kB / 0.4925 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.7044, allocations: 115.4 kB / 0.4926 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7044, allocations: 0 / 0.4926 GB, free: 11.7 MB / 430.1 MB Notification: Performance of Templates: time 0.06733/0.7717, allocations: 33.23 MB / 0.525 GB, free: 10.4 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches